summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}