Ticket #6615: 6615.patch

File 6615.patch, 985 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/tableresize/plugin.js

     
    171171                        resizer.removeListener( 'mousedown', onMouseDown );
    172172                        resizer.removeListener( 'mousemove', onMouseMove );
    173173
     174                        needsIEHacks && ( document.getBody().$.contentEditable = true );
    174175                        document.getBody().setStyle( 'cursor', 'auto' );
    175176
    176177                        // Hide the resizer (remove it on IE7 - #5890).
     
    331332                                });
    332333
    333334                        // In IE6/7, it's not possible to have custom cursors for floating
    334                         // elements in an editable document. Show the resizer in that case,
    335                         // to give the user a visual clue.
    336                         needsIEHacks && resizer.setOpacity( 0.25 );
     335                        // elements in an editable document.
     336                        needsIEHacks && ( document.getBody().$.contentEditable = false );
    337337
    338338                        resizer.on( 'mousedown', onMouseDown, this );
    339339
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy