Bug #2233 - Fixing a mistake of mine (it caused a javascript error).

skala
Ivan Tcholakov 15 years ago
parent 1a5ff57339
commit 1bca319885
  1. 3
      main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js
  2. 2
      main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin_compressed.js

@ -2233,7 +2233,8 @@ FCKEvents.prototype.FireEvent = function( eventName, params )
}
// See http://dev.ckeditor.com/ticket/6322
if (parseInt( navigator.userAgent.toLowerCase().match( /msie (\d+)/ )[1], 10 ) >= 9) {
if (navigator.userAgent.toLowerCase().match( /msie (\d+)/ )
&& parseInt( navigator.userAgent.toLowerCase().match( /msie (\d+)/ )[1], 10 ) >= 9) {
// For IE9 or higher.
FCKTools.RegisterDollarFunction = function( targetWindow )
{

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save