fixed: Reverted change that made IE6 stop showing pages with RichEditors in them
This commit is contained in:
parent
0a67594718
commit
0d4e1cbdb9
2 changed files with 2 additions and 4 deletions
|
|
@ -557,14 +557,11 @@ sub getRichEditor {
|
|||
|
||||
$self->session->style->setScript($self->session->url->extras('tinymce/jscripts/tiny_mce/tiny_mce.js'),{type=>"text/javascript"});
|
||||
$self->session->style->setScript($self->session->url->extras("tinymce-webgui/callbacks.js"),{type=>"text/javascript"});
|
||||
$self->session->style->setScript( $self->session->url->extras( "yui/build/yahoo-dom-event/yahoo-dom-event.js" ), { type => "text/javascript" } );
|
||||
my $out = "<script type=\"text/javascript\">\n";
|
||||
while (my ($plugin, $path) = each %loadPlugins) {
|
||||
$out .= "tinymce.PluginManager.load('$plugin', '$path');\n";
|
||||
}
|
||||
$out .= "YAHOO.util.Event.addListener( window, 'load', function () { \n"
|
||||
. "\ttinyMCE.init(" . JSON->new->utf8->pretty->encode(\%config) . " )\n"
|
||||
. "} );\n"
|
||||
$out .= "\ttinyMCE.init(" . JSON->new->utf8->pretty->encode(\%config) . " )\n"
|
||||
. "</script>";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue