[svn r21649] FS#2867 - The FCKEditor: Implementing 2.6.5 SVN patch, ticket #3429 - http://dev.fckeditor.net/ticket/3429 . Removing my patch SVN#21643, because it solves the same problem.

skala
Ivan Tcholakov 16 years ago
parent 3fd3455bbf
commit 1b0dbcd3be
  1. 2
      main/inc/lib/fckeditor/editor/_source/internals/fck_ie.js
  2. 2
      main/inc/lib/fckeditor/editor/js/fckeditorcode_ie.js
  3. 31
      main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js

@ -448,7 +448,7 @@ function Doc_OnMouseDown( evt )
// Radio buttons and checkboxes should not be allowed to be triggered in IE
// in editable mode. Otherwise the whole browser window may be locked by
// the buttons. (#1782)
if ( e.nodeName.IEquals( 'input' ) && e.type.IEquals( ['radio', 'checkbox'] ) && !e.disabled )
if ( e.nodeName && e.nodeName.IEquals( 'input' ) && e.type.IEquals( ['radio', 'checkbox'] ) && !e.disabled )
{
e.disabled = true ;
FCKTools.SetTimeout( _FCK_RemoveDisabledAtt, 1, e ) ;

File diff suppressed because one or more lines are too long

@ -1704,34 +1704,3 @@ FCK.GetServerBase = function ( url )
return url ;
} ;
/*
**************************************************************************************
* Patches.
**************************************************************************************
*/
if ( FCKBrowserInfo.IsIE )
{
function Doc_OnMouseDown( evt )
{
var e = evt.srcElement ;
/* A patch by Ivan Tcholakov, 27-JUN-2009, for suppressing javascript errors under IE8: */
if ( !e ) return ;
if ( !e.nodeName ) return ;
/* End of patch */
// Radio buttons and checkboxes should not be allowed to be triggered in IE
// in editable mode. Otherwise the whole browser window may be locked by
// the buttons. (#1782)
if ( e.nodeName.IEquals( 'input' ) && e.type.IEquals( ['radio', 'checkbox'] ) && !e.disabled )
{
e.disabled = true ;
FCKTools.SetTimeout( _FCK_RemoveDisabledAtt, 1, e ) ;
}
}
}

Loading…
Cancel
Save