diff options
author | svncommit <devs@roundcube.net> | 2006-11-11 23:02:04 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-11-11 23:02:04 +0000 |
commit | 8e20901e971df8b53bc5a333506d73c6a53dd416 (patch) | |
tree | 8bbe127577bb16f266cfeb166ae7a78f8eccef79 | |
parent | e4bbb246a572e0e4d1591ff2e003f6eb5b43068b (diff) |
finish previous commit
-rw-r--r-- | CHANGELOG | 5 | ||||
-rw-r--r-- | program/js/app.js | 10 |
2 files changed, 11 insertions, 4 deletions
@@ -1,6 +1,11 @@ CHANGELOG RoundCube Webmail --------------------------- +2006/11/11 (estadtherr) +---------- +- fixed deletion/moving of messages from within "show" page + + 2006/11/07 (estadtherr) ---------- - Upgraded to TinyMCE v2.0.8 diff --git a/program/js/app.js b/program/js/app.js index 50078cfd8..caef29271 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1272,10 +1272,12 @@ function rcube_webmail() this.permanently_remove_messages = function() { // exit if no mailbox specified or if selection is empty - var selection = this.message_list.get_selection(); - if (!(selection.length || this.env.uid)) - return; - + if (!this.env.uid) + { + if (!this.message_list || !this.message_list.get_selection().length) + return; + } + var a_uids = new Array(); if (this.env.uid) |