Ticket #7518: 7518.patch
File 7518.patch, 753 bytes (added by , 12 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
215 215 // 1. Into next sibling row if any; 216 216 // 2. Into previous sibling row if any; 217 217 // 3. Into table's parent element if it's the very last row. 218 var cursorPosition = new CKEDITOR.dom.element( rows[ startRowIndex] || rows[ startRowIndex - 1 ] || table.$.parentNode );218 var cursorPosition = new CKEDITOR.dom.element( rows[ endRowIndex + 1 ] || rows[ startRowIndex - 1 ] || table.$.parentNode ); 219 219 220 220 for ( i = rowsToDelete.length ; i >= 0 ; i-- ) 221 221 deleteRows( rowsToDelete[ i ] );