Ticket #5629: 5629.patch
File 5629.patch, 833 bytes (added by , 15 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
275 275 : ( cellIndexList[ cellIndexList.length - 1 ] + 1 ); 276 276 277 277 // scan row by row to get the target cell 278 var trs = table.$.getElementsByTagName( 'tr' );279 for ( i = 0, length = trs.length; i < length ; i++ )278 var rows = table.$.rows; 279 for ( i = 0, length = rows.length; i < length ; i++ ) 280 280 { 281 targetCell = trs[ i ].getElementsByTagName( 'td' )[ targetIndex ];281 targetCell = rows[ i ].cells[ targetIndex ]; 282 282 if ( targetCell ) 283 283 break; 284 284 } 285 285 286 286 return targetCell ? new CKEDITOR.dom.element( targetCell ) : table.getPrevious(); 287 287 } 288 288