summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-26 22:30:57 +0000
committerthomascube <thomas@roundcube.net>2005-10-26 22:30:57 +0000
commit01bb03134b5fd3797cbcf992104a3b6179b7f152 (patch)
treedf1f7e4b53411ddda4fcb092f87a19cd41ce23cc /program
parentb076a460e5418ae8f0db0b4b392d91853fd2a21b (diff)
Finished message sorting and fixed some skin issues
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index f56a7d866..8cc385895 100644
--- a/program/js/app.js
+++ b/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;
};