Changeset 5518


Ignore:
Timestamp:
05/25/10 17:14:38 (4 years ago)
Author:
garry.yao
Message:

#5742: fixing a regression of [5485] which breaks the 'new page' command.

File:
1 edited

Legend:

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

    r5505 r5518  
    262262                                if ( scayt_instance && plugin.isScaytReady( this.editor ) ) 
    263263                                { 
    264                                         this.contents = scayt_instance.reset( thisContents ); 
    265                                         otherImage.contents = scayt_instance.reset( otherContents ); 
     264                                        // scayt::reset might return value undefined. (#5742) 
     265                                        this.contents = scayt_instance.reset( thisContents ) || ''; 
     266                                        otherImage.contents = scayt_instance.reset( otherContents ) || ''; 
    266267                                } 
    267268                                 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy