summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-26 22:30:57 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-26 22:30:57 +0000
commitad32715fe346b4baf680238fd723cce6dad47b88 (patch)
tree688d2101207520d1c8e18497c7d88307f069f8cb /roundcubemail/program
parent725d43add7753f470867991a47c1abb6f9c332e5 (diff)
Finished message sorting and fixed some skin issues
git-svn-id: https://svn.roundcube.net/trunk@63 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index f56a7d866..8cc385895 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -782,11 +782,15 @@ function rcube_webmail()
this.switch_task = function(task)
{
- if (this.task===task)
+ if (this.task===task && task!='mail')
return;
+ var url = this.get_task_url(task);
+ if (task=='mail')
+ url += '&_mbox=INBOX';
+
this.set_busy(true);
- location.href = this.get_task_url(task);
+ location.href = url;
};