Ticket #4041: 4041_4.patch
File 4041_4.patch, 823 bytes (added by , 14 years ago) |
---|
-
_source/plugins/selection/plugin.js
152 152 // inside a selection. We don't want to capture that. 153 153 doc.on( 'mousedown', disableSave ); 154 154 doc.on( 'mouseup', 155 function( )155 function( evt ) 156 156 { 157 // IE context-menu event in table cells collapse 158 // whatever selection is, avoiding saving this 159 // 'wrong' snapshot.(#3001) 160 var evt = evt.data; 161 if ( evt.$.button == 2 162 && evt.getTarget().hasAscendant( 'table' ) ) 163 return; 164 157 165 saveEnabled = true; 158 166 setTimeout( function() 159 167 {