summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-12-23 11:03:33 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-12-23 11:03:33 (GMT)
commitff87ed69f8216c259bba6ccde4162615c2f452e0 (patch)
tree4ca34a5d3cf2d80b1624b36fb4cc7271335c9ff7
parent33c2ad4f3040f196b35b3bbea84719ef02f43cb3 (diff)
downloadroundcubemail-plugins-kolab-ff87ed69f8216c259bba6ccde4162615c2f452e0.tar.gz
Fix folder creation on "Save to cloud..." dialog in attachment preview window (#4034)
-rw-r--r--plugins/kolab_files/kolab_files.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js
index fc866b1..00269fa 100644
--- a/plugins/kolab_files/kolab_files.js
+++ b/plugins/kolab_files/kolab_files.js
@@ -70,6 +70,10 @@ window.rcmail && window.files_api && rcmail.addEventListener('init', function()
rcmail.addEventListener('menu-open', kolab_files_attach_menu_open);
rcmail.enable_command('folder-create', true);
}
+ // attachment preview
+ else if (rcmail.env.action == 'get') {
+ rcmail.enable_command('folder-create', true);
+ }
kolab_files_init();
}