Browse Source

[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.

Ivan Tcholakov 15 years ago
parent
commit
1b0dbcd3be

+ 1 - 1
main/inc/lib/fckeditor/editor/_source/internals/fck_ie.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 it is too large
+ 0 - 0
main/inc/lib/fckeditor/editor/js/fckeditorcode_ie.js


+ 0 - 31
main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js

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

Some files were not shown because too many files changed in this diff