[Svn] r2355 - branches/devel-api/program/js

trac at roundcube.net trac at roundcube.net
Tue Mar 17 15:36:01 CET 2009


Author: thomasb
Date: 2009-03-17 09:36:00 -0500 (Tue, 17 Mar 2009)
New Revision: 2355

Modified:
   branches/devel-api/program/js/app.js
Log:
Bugfix

Modified: branches/devel-api/program/js/app.js
===================================================================
--- branches/devel-api/program/js/app.js	2009-03-13 11:47:31 UTC (rev 2354)
+++ branches/devel-api/program/js/app.js	2009-03-17 14:36:00 UTC (rev 2355)
@@ -456,6 +456,7 @@
     var input_from = $("[name='_from']");
     var input_to = $("[name='_to']");
     var input_subject = $("input[name='_subject']");
+    var input_message = $("[name='_message']").get(0);
 
     // init live search events
     this.init_address_input_events(input_to);
@@ -473,7 +474,7 @@
     else if (input_subject.val() == '')
       input_subject.focus();
     else if (input_message)
-      this.set_caret2start($("[name='_message']").get(0));
+      this.set_caret2start(input_message);
 
     // get summary of all field values
     this.compose_field_hash(true);

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



More information about the Svn mailing list