summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-12-29 08:18:24 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-12-29 08:18:24 +0000
commit63a189a66ba7a6e3fc927fe12f272792c6fe3302 (patch)
tree612781839d39d09ea34d35b0dda11b14ff4d1589
parent122ed1030a5c5ebd684fa1e1bc3ef71be4f715f2 (diff)
- Fallback to INBOX if this.env.mailbox is not specified in list_mailbox()
git-svn-id: https://svn.roundcube.net/trunk@4378 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index fe0a75ac5..868919cbd 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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;