Changeset 1118

Show
Ignore:
Timestamp:
2007-11-26 05:17:07 (2 years ago)
Author:
martinkou
Message:

Fixed #1491 : Reverted the excessive changes in [1064].

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/classes/fckdomrange_ie.js

    r1064 r1118  
    3434        if ( oSel.type != 'Control' ) 
    3535        { 
    36                 var htmlText = this.Window.document.selection.createRange().htmlText ; 
    3736                var eMarkerStart        = this._GetSelectionMarkerTag( true ) ; 
    3837                var eMarkerEnd          = this._GetSelectionMarkerTag( false ) ; 
     
    5453 
    5554                this._UpdateElementInfo() ; 
    56  
    57                 // Kludge for IE bug #1491. 
    58                 if ( htmlText.match( /^\s*<(LI)><\/\1>$/ ) ) 
    59                         this.Collapse( true ) ; 
    6055        } 
    6156        else