From 01bb03134b5fd3797cbcf992104a3b6179b7f152 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 26 Oct 2005 18:30:57 -0400
Subject: [PATCH] Finished message sorting and fixed some skin issues

---
 program/js/app.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index f56a7d8..8cc3858 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -782,11 +782,15 @@
 
   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;
     };
 
 

--
Gitblit v1.9.1