summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-12-29 08:18:24 +0000
committeralecpl <alec@alec.pl>2010-12-29 08:18:24 +0000
commit4da0bee2f8e442ce4b641e185c0296c326f9041d (patch)
tree2dab00fbb5e1824ed0e850d4f3967e1b0514e571 /program/js/app.js
parentd70c217a3bb7066daaabec2507fc79b191c948b3 (diff)
- Fallback to INBOX if this.env.mailbox is not specified in list_mailbox()
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index fe0a75ac5..868919cbd 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1917,7 +1917,7 @@ function rcube_webmail()
var url = '', target = window;
if (!mbox)
- mbox = this.env.mailbox;
+ mbox = this.env.mailbox ? this.env.mailbox : 'INBOX';
if (add_url)
url += add_url;