aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-29 18:34:16 -0800
committerzotlabs <mike@macgirvin.com>2017-11-29 18:34:16 -0800
commitd59c1bb6bf36419344dc355113e56c2254cbcbfa (patch)
tree2d7cdc6bceb9716be7d7330f7c3b1b7170210918 /view
parente47c08ed72acd82ef455588f5dec3269a8030037 (diff)
downloadvolse-hubzilla-d59c1bb6bf36419344dc355113e56c2254cbcbfa.tar.gz
volse-hubzilla-d59c1bb6bf36419344dc355113e56c2254cbcbfa.tar.bz2
volse-hubzilla-d59c1bb6bf36419344dc355113e56c2254cbcbfa.zip
more chunk stuff
Diffstat (limited to 'view')
-rw-r--r--view/js/mod_cloud.js6
-rw-r--r--view/tpl/cloud_actionspanel.tpl2
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">