[Svn] r4224 - in trunk/roundcubemail: . program/js

trac at roundcube.net trac at roundcube.net
Mon Nov 15 10:26:25 CET 2010


Author: alec
Date: 2010-11-15 03:26:24 -0600 (Mon, 15 Nov 2010)
New Revision: 4224

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/js/list.js
Log:
- Fix focused elements aren't unfocused when clicking on the list (#1487123)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2010-11-14 11:35:38 UTC (rev 4223)
+++ trunk/roundcubemail/CHANGELOG	2010-11-15 09:26:24 UTC (rev 4224)
@@ -70,6 +70,7 @@
 - Fix handling of folders with "<>" characters in name
 - jQuery 1.4.4
 - Fix handling of HTML entity strings in plain text messages
+- Fix focused elements aren't unfocused when clicking on the list (#1487123)
 
 RELEASE 0.4.2
 -------------

Modified: trunk/roundcubemail/program/js/list.js
===================================================================
--- trunk/roundcubemail/program/js/list.js	2010-11-14 11:35:38 UTC (rev 4223)
+++ trunk/roundcubemail/program/js/list.js	2010-11-15 09:26:24 UTC (rev 4224)
@@ -214,6 +214,7 @@
 {
   var id;
   this.focused = true;
+
   for (var n in this.selection) {
     id = this.selection[n];
     if (this.rows[id] && this.rows[id].obj) {
@@ -221,6 +222,9 @@
     }
   }
 
+  // Un-focus already focused elements
+  $('*:focus').blur();
+
   if (e || (e = window.event))
     rcube_event.cancel(e);
 },

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list