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

trac at roundcube.net trac at roundcube.net
Tue Aug 3 10:49:13 CEST 2010


Author: alec
Date: 2010-08-03 03:49:13 -0500 (Tue, 03 Aug 2010)
New Revision: 3858

Modified:
   trunk/roundcubemail/program/js/app.js
Log:
- Fix ESC key doesn't close folder name edition field in Google Chrome


Modified: trunk/roundcubemail/program/js/app.js
===================================================================
--- trunk/roundcubemail/program/js/app.js	2010-08-03 08:20:21 UTC (rev 3857)
+++ trunk/roundcubemail/program/js/app.js	2010-08-03 08:49:13 UTC (rev 3858)
@@ -4045,7 +4045,7 @@
 
       reg = new RegExp('['+RegExp.escape(this.env.delimiter)+']?[^'+RegExp.escape(this.env.delimiter)+']+$');
       this.name_input.__parent = this.env.subscriptionrows[id][0].replace(reg, '');
-      this.name_input.onkeypress = function(e){ rcmail.name_input_keypress(e); };
+      this.name_input.onkeydown = function(e){ rcmail.name_input_keydown(e); };
 
       row.cells[0].replaceChild(this.name_input, row.cells[0].firstChild);
       this.edit_folder = id;
@@ -4068,7 +4068,7 @@
   };
 
   // handler for keyboard events on the input field
-  this.name_input_keypress = function(e)
+  this.name_input_keydown = function(e)
   {
     var key = rcube_event.get_keycode(e);
 

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



More information about the Svn mailing list