Fixing chrome error when loading sources see BT#8289

1.9.x
Julio Montoya 12 years ago
parent 9c0c73a1c8
commit 528102f235
  1. 4
      main/inc/lib/fckeditor/editor/_source/internals/fckselection_gecko.js
  2. 3
      main/inc/lib/fckeditor/editor/js/fckeditorcode_gecko.js

@ -183,9 +183,9 @@ FCKSelection.MoveToAncestorNode = function( nodeTagName )
var oNode ;
var oContainer = this.GetSelectedElement() ;
if ( ! oContainer )
/*if ( ! oContainer )
oContainer = this.GetSelection().getRangeAt(0).startContainer ;
*/
while ( oContainer )
{
if ( oContainer.nodeName.IEquals( nodeTagName ) )

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