Ticket #2679: 2679.patch

File 2679.patch, 1.4 KB (added by Martin Kou, 15 years ago)
  • _whatsnew.html

     
    110110                        where new elements were inserted at the beginning of the content in IE.</li>
    111111                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2634">#2634</a>] Fixed two obsolete
    112112                        references to Array::AddItem() instances still in the code.</li>
     113                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2679">#2679</a>] Fixed infinite loop
     114                        problems with FCKDomRangeIterator class which causes some commands to hang when applied to certain
     115                        document structures.</li>
    113116        </ul>
    114117        <p>
    115118                <a href="_whatsnew_history.html">See previous versions history</a></p>
  • editor/_source/classes/fckdomrangeiterator.js

     
    136136                                                // The found boundary must be set as the next one at this
    137137                                                // point. (#1717)
    138138                                                if ( nodeName != 'br' )
    139                                                         this._NextNode = FCKDomTools.GetNextSourceNode( currentNode, true, null, lastNode ) ;
     139                                                        this._NextNode = FCKDomTools.GetNextSourceNode( currentNode, true, null, lastNode ) || currentNode ;
    140140                                        }
    141141
    142142                                        closeRange = true ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy