Ticket #2039: 2039.patch

File 2039.patch, 1.2 KB (added by Martin Kou, 16 years ago)
  • _whatsnew.html

     
    4242        <p>
    4343                Fixed Bugs:</p>
    4444        <ul>
    45                 <li></li>
     45                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed the locking up issue
     46                        in the Find/Replace dialog.</li>
    4647        </ul>
    4748        <h3>
    4849                Version 2.6 (SVN)</h3>
  • editor/_source/classes/fckdomrange.js

     
    459459                // Also note that the node that we use for "address base" would change during backtracking.
    460460                var addrStart = this._Range.startContainer ;
    461461                var addrEnd = this._Range.endContainer ;
    462                 while ( curStart && curStart.nodeType == 3 )
     462                while ( curStart && addrStart.nodeType == 3 )
    463463                {
    464464                        bookmark.Start[0] += curStart.length ;
    465465                        addrStart = curStart ;
    466466                        curStart = curStart.previousSibling ;
    467467                }
    468                 while ( curEnd && curEnd.nodeType == 3 )
     468                while ( curEnd && addrEnd.nodeType == 3 )
    469469                {
    470470                        bookmark.End[0] += curEnd.length ;
    471471                        addrEnd = curEnd ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy