Ticket #7953: 7953.patch
File 7953.patch, 729 bytes (added by , 13 years ago) |
---|
-
_source/plugins/clipboard/plugin.js
398 398 } ); 399 399 }); 400 400 401 // Dismiss the (wrong) 'beforepaste' event fired on context menu open. (#7953) 402 body.on( 'contextmenu', function() 403 { 404 depressBeforeEvent = 1; 405 setTimeout( function() { depressBeforeEvent = 0; }, 0 ); 406 }) 407 401 408 body.on( 'beforecut', function() { !depressBeforeEvent && fixCut( editor ); } ); 402 409 403 410 body.on( 'mouseup', function(){ setTimeout( function(){ setToolbarStates.call( editor ); }, 0 ); }, editor );