Ticket #4952: 4952.patch

File 4952.patch, 809 bytes (added by Garry Yao, 14 years ago)
  • _source/plugins/selection/plugin.js

     
    144144                                                // inside a selection. We don't want to capture that.
    145145                                                body.on( 'mousedown', disableSave );
    146146                                                body.on( 'mouseup',
    147                                                         function( evt )
     147                                                        function()
    148148                                                        {
    149                                                                 // IE context-menu event in table cells collapse
    150                                                                 // whatever selection is, avoiding saving this
    151                                                                 // 'wrong' snapshot.(#3001)
    152                                                                 evt = evt.data;
    153                                                                 if ( evt.$.button == 2 && evt.getTarget().hasAscendant( 'table' ) )
    154                                                                         return;
    155 
    156149                                                                saveEnabled = true;
    157150                                                                setTimeout( function()
    158151                                                                        {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy