Changeset 7559


Ignore:
Timestamp:
07/12/12 17:44:14 (2 years ago)
Author:
garry.yao
Message:

#9118: Fixed selection error when resizing table, regression of [7504].

File:
1 edited

Legend:

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

    r7534 r7559  
    313313                else 
    314314                { 
    315                         var ranges = editor.getSelection().getRanges(); 
    316                         retval = !( ranges.length == 1 && ranges[ 0 ].collapsed ); 
     315                        var sel = editor.getSelection(), 
     316                                ranges = sel && sel.getRanges(); 
     317                        retval = sel && !( ranges.length == 1 && ranges[ 0 ].collapsed ); 
    317318                } 
    318319 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy