Ignore:
Timestamp:
Nov 16, 2010 2:47:07 AM (3 years ago)
Author:
alec
Message:
  • Execute HTML editor initialization in page footer (#1487125)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/main.inc

    r4222 r4228  
    15771577  $RCMAIL->output->include_script('tiny_mce/tiny_mce.js'); 
    15781578  $RCMAIL->output->include_script('editor.js'); 
    1579   $RCMAIL->output->add_script('rcmail_editor_init("$__skin_path", 
    1580     "'.JQ($lang).'", '.intval($CONFIG['enable_spellcheck']).', "'.$mode.'");'); 
     1579  $RCMAIL->output->add_script(sprintf("rcmail_editor_init('%s', '%s', %d, '%s');", 
     1580    $__skin_path, JQ($lang), intval($CONFIG['enable_spellcheck']), $mode), 
     1581    'foot'); 
    15811582} 
    15821583 
Note: See TracChangeset for help on using the changeset viewer.