diff options
| author | richs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-08-29 19:47:05 +0000 |
|---|---|---|
| committer | richs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-08-29 19:47:05 +0000 |
| commit | 8c555e147be04f165edb1569a7679f0a6a469ca3 (patch) | |
| tree | ec15e9d235dadb05edd7c7fa454c0ea97a1a78a3 /roundcubemail/program/js | |
| parent | 8efe8f1accd963b5ea7c9da68c50d3e0af4f547f (diff) | |
Fixed multi-message move/delete
git-svn-id: https://svn.roundcube.net/trunk@748 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 164ac4a1b..581e25512 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1095,11 +1095,13 @@ function rcube_webmail() if (this.env.mailbox == this.env.drafts_mailbox) { this.enable_command('reply', 'reply-all', 'forward', false); - this.enable_command('show', 'delete', 'moveto', selected); + this.enable_command('show', selected); + this.enable_command('delete', 'moveto', (list.selection.length > 0 ? true : false)); } else { - this.enable_command('show', 'reply', 'reply-all', 'forward', 'print', 'delete', 'moveto', selected); + this.enable_command('show', 'reply', 'reply-all', 'forward', 'print', selected); + this.enable_command('delete', 'moveto', (list.selection.length > 0 ? true : false)); } // start timer for message preview (wait for double click) |
