plugins/kolab_files

Aleksander Machniak machniak at kolabsys.com
Tue Dec 23 12:43:04 CET 2014


 plugins/kolab_files/kolab_files.js |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit ff87ed69f8216c259bba6ccde4162615c2f452e0
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Tue Dec 23 06:03:33 2014 -0500

    Fix folder creation on "Save to cloud..." dialog in attachment preview window (#4034)

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();
   }




More information about the commits mailing list