Fix warning on files actions in compose page (Bug #2082)

This commit is contained in:
Aleksander Machniak 2013-08-06 09:31:13 +02:00
parent 4717af8550
commit 8eccce91c2

View file

@ -33,6 +33,9 @@ window.rcmail && rcmail.addEventListener('init', function() {
rcmail.file_list.init();
kolab_files_list_coltypes();
}
// register some commands to skip warning message on compose page
$.merge(rcmail.env.compose_commands, ['files-list', 'files-sort', 'files-search', 'files-search-reset']);
}
// mail preview
else if (rcmail.env.action == 'show' || rcmail.env.action == 'preview') {