diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2009-03-08 21:13:21 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2009-03-11 12:51:52 +0000 |
| commit | f807a4f4b549c285c5ebf91d77cf207cb9ef8e6d (patch) | |
| tree | c84039d0d8bd2afe1033079bb357155066496239 /roundcubemail/program/js | |
| parent | 7718f6247d7f10f464b8b631b736fa2921e8a273 (diff) | |
Bits and pieces needed for a copy-message dropdown.
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index fbe1dcd75..d8721fdde 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -277,7 +277,7 @@ function rcube_webmail() if ((this.env.action=='add' || this.env.action=='edit') && this.gui_objects.editform) this.enable_command('save', true); else - this.enable_command('search', 'reset-search', 'moveto', 'import', true); + this.enable_command('search', 'reset-search', 'moveto', 'copyto', 'import', true); if (this.contact_list && this.contact_list.rowcount > 0) this.enable_command('export', true); @@ -1348,12 +1348,12 @@ function rcube_webmail() { this.enable_command('reply', 'reply-all', 'forward', false); this.enable_command('show', 'print', selected); - this.enable_command('delete', 'moveto', 'mark', (list.selection.length > 0 ? true : false)); + this.enable_command('delete', 'moveto', 'copyto', 'mark', (list.selection.length > 0 ? true : false)); } else { this.enable_command('show', 'reply', 'reply-all', 'forward', 'print', selected); - this.enable_command('delete', 'moveto', 'mark', (list.selection.length > 0 ? true : false)); + this.enable_command('delete', 'moveto', 'copyto', 'mark', (list.selection.length > 0 ? true : false)); } // start timer for message preview (wait for double click) @@ -1773,7 +1773,7 @@ function rcube_webmail() lock = true; this.set_busy(true, 'copyingmessage'); } - + // Hide message command buttons until a message is selected this.enable_command('reply', 'reply-all', 'forward', 'delete', 'mark', 'print', false); @@ -4029,7 +4029,7 @@ function rcube_webmail() else if (this.message_list) this.message_list.init(); break; - + case 'purge': case 'expunge': if (!this.env.messagecount && this.task == 'mail') { @@ -4037,7 +4037,7 @@ function rcube_webmail() if (this.env.contentframe) this.show_contentframe(false); // disable commands useless when mailbox is empty - this.enable_command('show', 'reply', 'reply-all', 'forward', 'moveto', 'delete', 'mark', 'viewsource', + this.enable_command('show', 'reply', 'reply-all', 'forward', 'moveto', 'copyto', 'delete', 'mark', 'viewsource', 'print', 'load-attachment', 'purge', 'expunge', 'select-all', 'select-none', 'sort', 'expand-all', 'collapse-all', false); } |
