summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-03-02 14:46:43 +0000
committerthomascube <thomas@roundcube.net>2008-03-02 14:46:43 +0000
commitaa9836224019ec670984685acf77cf39d85357be (patch)
tree578e160fcb1858052095bcb78cf3561ffdddd65f /program/js/app.js
parent019b5d5518763bebe07a54979c9fa485e621422c (diff)
Minor bug fixes and visual enhancements
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/program/js/app.js b/program/js/app.js
index d1f0c9376..bbd7bfc18 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1387,11 +1387,8 @@ function rcube_webmail()
this.move_messages = function(mbox)
{
// exit if current or no mailbox specified or if selection is empty
- if (!mbox || !this.env.uid || mbox==this.env.mailbox)
- {
- if (!this.message_list || !this.message_list.get_selection().length)
- return;
- }
+ if (!mbox || !this.env.uid || mbox == this.env.mailbox || !this.message_list || !this.message_list.get_selection().length)
+ return;
var lock = false;
var add_url = '&_target_mbox='+urlencode(mbox)+'&_from='+(this.env.action ? this.env.action : '');