summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-10-14 22:01:23 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-10-14 22:01:23 (GMT)
commit3d5f6200a9cae9e86020854b8d71ec8e47d9acaf (patch)
tree8ef0f70464d5fef8f356e810178a07d21e56bc66
parent23d233b79e317ceae543aa86f6d606a42299f7fd (diff)
downloadkolab-chwala-3d5f6200a9cae9e86020854b8d71ec8e47d9acaf.tar.gz
Fix list refresh after file upload if upload progress is disabled
-rw-r--r--public_html/js/files_ui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public_html/js/files_ui.js b/public_html/js/files_ui.js
index c39ed85..a8a89c8 100644
--- a/public_html/js/files_ui.js
+++ b/public_html/js/files_ui.js
@@ -1427,6 +1427,8 @@ function files_ui()
var ts = new Date().getTime(),
frame_name = 'fileupload' + ts;
+ this.uploads[ts] = this.env.folder;
+
// upload progress supported (and handler exists)
if (this.env.capabilities.PROGRESS_NAME && window.progress_update) {
var fname = this.env.capabilities.PROGRESS_NAME,
@@ -1438,7 +1440,6 @@ function files_ui()
}
field.val(ts);
- this.uploads[ts] = this.env.folder;
this.file_upload_progress(ts);
}