mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
mujma: BUGFIX: All uploading was directed to root folder - fixed.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42090 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
25a6aefc9a
commit
dd02cd2945
@ -62,6 +62,7 @@ CMSMain_upload.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
uploadFileQueuedCallback: function(file,queueLength) {
|
uploadFileQueuedCallback: function(file,queueLength) {
|
||||||
|
this.upload.setFolderID(this.iframe.contentDocument.getElementById('Form_UploadForm_ID').value);
|
||||||
this.iframe.contentDocument.getElementById('Form_UploadForm_action_upload').disabled = false;
|
this.iframe.contentDocument.getElementById('Form_UploadForm_action_upload').disabled = false;
|
||||||
var fileContainer = this.iframe.contentDocument.getElementById('Form_UploadForm_FilesList');
|
var fileContainer = this.iframe.contentDocument.getElementById('Form_UploadForm_FilesList');
|
||||||
if(fileContainer == null) {
|
if(fileContainer == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user