Changeset 1405


Ignore:
Timestamp:
01/24/08 17:26:32 (6 years ago)
Author:
fredck
Message:

Fixed #1654 : Removed a useless piece of code which is supposed to be involved in a non reproducible big. It is not needed anyway.

Location:
FCKeditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r1404 r1405  
    6161                        ENTER key will not any more break <button> elements at the beginning of  
    6262                        paragraphs.</li> 
     63                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor 
     64                        was not loading on an specific unknown situation. The breaking point has been removed.</li> 
    6365        </ul> 
    6466        <p> 
  • FCKeditor/trunk/editor/_source/classes/fckeditingarea.js

    r1192 r1405  
    4646 
    4747        // Remove all child nodes from the target. 
    48         var oChild ; 
    49         while( ( oChild = eTargetElement.firstChild ) )         // Only one "=". 
    50         { 
    51                 // Set innerHTML = '' to avoid memory leak. 
    52                 if ( oChild.contentWindow ) 
    53                         oChild.contentWindow.document.body.innerHTML = '' ; 
    54  
    55                 eTargetElement.removeChild( oChild ) ; 
    56         } 
     48        while( eTargetElement.firstChild ) 
     49                eTargetElement.removeChild( eTargetElement.firstChild ) ; 
    5750 
    5851        if ( this.Mode == FCK_EDITMODE_WYSIWYG ) 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy