[Svn] r4228 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Tue Nov 16 08:47:07 CET 2010


Author: alec
Date: 2010-11-16 01:47:07 -0600 (Tue, 16 Nov 2010)
New Revision: 4228

Modified:
   trunk/roundcubemail/program/include/main.inc
Log:
- Execute HTML editor initialization in page footer (#1487125)


Modified: trunk/roundcubemail/program/include/main.inc
===================================================================
--- trunk/roundcubemail/program/include/main.inc	2010-11-15 18:39:30 UTC (rev 4227)
+++ trunk/roundcubemail/program/include/main.inc	2010-11-16 07:47:07 UTC (rev 4228)
@@ -1576,8 +1576,9 @@
 
   $RCMAIL->output->include_script('tiny_mce/tiny_mce.js');
   $RCMAIL->output->include_script('editor.js');
-  $RCMAIL->output->add_script('rcmail_editor_init("$__skin_path",
-    "'.JQ($lang).'", '.intval($CONFIG['enable_spellcheck']).', "'.$mode.'");');
+  $RCMAIL->output->add_script(sprintf("rcmail_editor_init('%s', '%s', %d, '%s');",
+    $__skin_path, JQ($lang), intval($CONFIG['enable_spellcheck']), $mode),
+    'foot');
 }
 
 

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



More information about the Svn mailing list