Changeset 7269


Ignore:
Timestamp:
09/08/11 07:42:37 (3 years ago)
Author:
garry.yao
Message:

Post-fixing #8342, reverted [7267].

Location:
CKEditor/trunk/_source/plugins
Files:
2 edited

Legend:

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

    r7267 r7269  
    296296                if ( this.mode != 'wysiwyg' ) 
    297297                        return; 
    298  
    299                 inReadOnly = inReadOnly || this.readOnly; 
    300298 
    301299                this.getCommand( 'cut' ).setState( inReadOnly ? CKEDITOR.TRISTATE_DISABLED : stateFromNamedCommand( 'Cut', this ) ); 
  • CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js

    r7256 r7269  
    11051105                                        editor.on( 'selectionChange', function( evt ) 
    11061106                                        { 
     1107                                                if ( editor.readOnly ) 
     1108                                                        return; 
     1109 
    11071110                                                var sel = editor.getSelection(); 
    11081111                                                // Do it only when selection is not locked. (#8222) 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy