Ticket #4041: 4041_2.patch
File 4041_2.patch, 879 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 contextmenu event in table cells collapse 158 // whatever selection is, avoding saving the last 159 // 'wrong' snapshot.(#3001) 160 var target = evt.data.getTarget(); 161 if ( evt.data.$.button == 2 162 && target.is 163 && target.getName() in CKEDITOR.dtd.$tableContent ) 164 return; 165 157 166 saveEnabled = true; 158 167 setTimeout( function() 159 168 {