- Execute HTML editor initialization in page footer (#1487125)

release-0.6
alecpl 14 years ago
parent 8710133250
commit 4b410e2064

@ -1576,8 +1576,9 @@ function rcube_html_editor($mode='')
$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');
}

Loading…
Cancel
Save