diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/js/mod_cloud.js | 6 | ||||
-rw-r--r-- | view/tpl/cloud_actionspanel.tpl | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/view/js/mod_cloud.js b/view/js/mod_cloud.js index 3a82c701f..e9e8e9241 100644 --- a/view/js/mod_cloud.js +++ b/view/js/mod_cloud.js @@ -28,9 +28,9 @@ function UploadInit() { // data.submit(); // }, -// submit: function(e,data) { -// data.submit(); -// }, + submit: function(e,data) { + e.preventDefault(); + }, // done: function(e,data) { // addeditortext(data.result.message); diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl index 71ba2f687..2eed5b18b 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" name="files"> + <input class="form-group pull-left" id="files-upload" type="file" name="files[]" multiple> {{include file="field_checkbox.tpl" field=$notify}} <div class="pull-right btn-group"> <div class="btn-group"> |