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

This commit is contained in:
Aleksander Machniak 2014-12-23 06:03:33 -05:00
parent 33c2ad4f30
commit ff87ed69f8

View file

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