[Svn] r5721 - trunk/roundcubemail/program/js

trac at roundcube.net trac at roundcube.net
Thu Jan 5 16:59:49 CET 2012


Author: thomasb
Date: 2012-01-05 09:59:49 -0600 (Thu, 05 Jan 2012)
New Revision: 5721

Modified:
   trunk/roundcubemail/program/js/list.js
Log:
Avoid dblclick events after 3rd click

Modified: trunk/roundcubemail/program/js/list.js
===================================================================
--- trunk/roundcubemail/program/js/list.js	2012-01-05 12:59:32 UTC (rev 5720)
+++ trunk/roundcubemail/program/js/list.js	2012-01-05 15:59:49 UTC (rev 5721)
@@ -350,8 +350,10 @@
   this.in_selection_before = false;
 
   // row was double clicked
-  if (this.rows && dblclicked && this.in_selection(id))
+  if (this.rows && dblclicked && this.in_selection(id)) {
     this.triggerEvent('dblclick');
+    now = 0;
+  }
   else
     this.triggerEvent('click');
 

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



More information about the Svn mailing list