From 4da0bee2f8e442ce4b641e185c0296c326f9041d Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 29 Dec 2010 08:18:24 +0000 Subject: - Fallback to INBOX if this.env.mailbox is not specified in list_mailbox() --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3