Changeset 3854


Ignore:
Timestamp:
07/09/2009 06:04:48 PM (5 years ago)
Author:
martinkou
Message:

Fixed #3919 : Fixed regression bug from [3850] which is causing indent and list commands is fail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/plugins/domiterator/plugin.js

    r3850 r3854  
    6363                                this._.lastNode = lastNode.getNextSourceNode( true ); 
    6464 
    65                                 if ( this._.lastNode.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tool.trim( this._.lastNode.getText( ) ) ) 
     65                                if ( this._.lastNode && 
     66                                                this._.lastNode.type == CKEDITOR.NODE_TEXT && 
     67                                                !CKEDITOR.tool.trim( this._.lastNode.getText( ) ) ) 
    6668                                { 
    6769                                        // Special case for #3887: 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy