diff options
-rw-r--r-- | view/js/mod_cloud.js | 8 | ||||
-rw-r--r-- | view/tpl/cloud.tpl | 1 | ||||
-rw-r--r-- | view/tpl/cloud_actionspanel.tpl | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/view/js/mod_cloud.js b/view/js/mod_cloud.js index 1a473ac75..3a82c701f 100644 --- a/view/js/mod_cloud.js +++ b/view/js/mod_cloud.js @@ -24,9 +24,13 @@ function UploadInit() { dropZone: filedrag, maxChunkSize: 100000, // 4 * 1024 * 1024, - add: function(e,data) { +// add: function(e,data) { // data.submit(); - }, +// }, + +// submit: function(e,data) { +// data.submit(); +// }, // done: function(e,data) { // addeditortext(data.result.message); diff --git a/view/tpl/cloud.tpl b/view/tpl/cloud.tpl index ccd59d81a..e7237c7e6 100644 --- a/view/tpl/cloud.tpl +++ b/view/tpl/cloud.tpl @@ -1,7 +1,6 @@ <script src="library/blueimp_upload/js/vendor/jquery.ui.widget.js"></script> <script src="library/blueimp_upload/js/jquery.iframe-transport.js"></script> <script src="library/blueimp_upload/js/jquery.fileupload.js"></script> -<input id="invisible-cloud-file-upload" type="file" name="files" style="visibility:hidden;position:absolute;top:-50;left:-50;width:0;height:0;" multiple> <div class="generic-content-wrapper"> {{include file="cloud_header.tpl"}} diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl index 489632a4a..71ba2f687 100644 --- a/view/tpl/cloud_actionspanel.tpl +++ b/view/tpl/cloud_actionspanel.tpl @@ -25,7 +25,7 @@ <input type="hidden" name="channick" value="{{$channick}}" /> <input type="hidden" name="return_url" value="{{$return_url}}" /> <label for="files-upload">{{$upload_header}}</label> - <input class="form-group pull-left" id="files-upload" type="file" multiple name="files"> + <input class="form-group pull-left" id="files-upload" type="file" name="files"> {{include file="field_checkbox.tpl" field=$notify}} <div class="pull-right btn-group"> <div class="btn-group"> |