fixed: Reverted change that made IE6 stop showing pages with RichEditors in them

This commit is contained in:
Doug Bell 2008-06-27 16:48:48 +00:00
parent 0a67594718
commit 0d4e1cbdb9
2 changed files with 2 additions and 4 deletions

View file

@ -1,5 +1,6 @@
7.5.15
- fixed: Colorpicker window would not open (Martin Kamerbeek / Oqapi)
- fixed: Reverted change to RichEdit that caused IE6 to stop working
7.5.14
- fixed: RSS feeds report modified date instead of create date

View file

@ -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>";
}