summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-03-09 20:18:42 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-03-09 20:18:42 (GMT)
commit2fe963f48fd6cd457bd856858936dfba602d8ff0 (patch)
tree3f1e087b8a9674ffea43edab0f866c0deeeb6b19
parent3702557dc3cc0da27309b6214d7aa2ad75125b15 (diff)
downloadroundcubemail-plugins-kolab-2fe963f48fd6cd457bd856858936dfba602d8ff0.tar.gz
Fix infinite "Uploading files..." message when upload progress feature is disabled (#4774)
-rw-r--r--plugins/kolab_files/kolab_files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js
index 1a8106a..81a618f 100644
--- a/plugins/kolab_files/kolab_files.js
+++ b/plugins/kolab_files/kolab_files.js
@@ -2109,7 +2109,7 @@ function kolab_files_ui()
this.file_upload_progress_stop = function(id)
{
- if (id && this.uploads[id]) {
+ if (id) {
delete this.uploads[id];
rcmail.display_progress({name: id});
}