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

trac at roundcube.net trac at roundcube.net
Tue Nov 30 21:16:25 CET 2010


Author: alec
Date: 2010-11-30 14:16:25 -0600 (Tue, 30 Nov 2010)
New Revision: 4293

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/js/editor.js
Log:
- Fix cursor position on compose form in Webkit browsers (#1486674)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2010-11-30 20:13:44 UTC (rev 4292)
+++ trunk/roundcubemail/CHANGELOG	2010-11-30 20:16:25 UTC (rev 4293)
@@ -5,6 +5,7 @@
 - Fix attachments of type message/rfc822 are not listed on attachments list
 - Add 'login_lc' config option for case-insensitive authentication (#1487113)
 - Fix window is blur'ed in IE when selecting a message (#1487316)
+- Fix cursor position on compose form in Webkit browsers (#1486674)
 
 RELEASE 0.5-BETA
 ----------------

Modified: trunk/roundcubemail/program/js/editor.js
===================================================================
--- trunk/roundcubemail/program/js/editor.js	2010-11-30 20:13:44 UTC (rev 4292)
+++ trunk/roundcubemail/program/js/editor.js	2010-11-30 20:16:25 UTC (rev 4293)
@@ -71,8 +71,10 @@
   if (elem && elem.type == 'select-one') {
     rcmail.change_identity(elem);
     // Focus previously focused element
-    if (fe && fe.id != rcmail.env.composebody)
+    if (fe && fe.id != rcmail.env.composebody) {
+      window.focus(); // for WebKit (#1486674)
       fe.focus();
+    }
   }
 
   // set tabIndex and set focus to element that was focused before

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



More information about the Svn mailing list