From 4693fe11a95ee1bc3912a5ee2b3ed41c8b0b6b92 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 23 Nov 2011 12:29:03 -0500
Subject: [PATCH] Set selected state on task buttons; increase display time of messages/notifications

---
 program/js/app.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 1be2009..a93a476 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -37,7 +37,7 @@
 
   // webmail client settings
   this.dblclick_time = 500;
-  this.message_time = 2000;
+  this.message_time = 4000;
 
   this.identifier_expr = new RegExp('[^0-9a-z\-_]', 'gi');
 
@@ -5142,6 +5142,9 @@
         init_button(cmd, this.buttons[cmd][i]);
       }
     }
+
+    // set active task button
+    this.set_button(this.task, 'sel');
   };
 
   // set button to a specific state

--
Gitblit v1.9.1