Ticket #7841: 7841.patch
File 7841.patch, 880 bytes (added by , 13 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
341 341 row = new CKEDITOR.dom.element( table.$.rows[ j ] ), 342 342 cell = new CKEDITOR.dom.element( mapRow[ i ] ); 343 343 344 if ( cell.$.colSpan == 1 ) 345 cell.remove(); 346 // Reduce the col spans. 347 else 348 cell.$.colSpan -= 1; 344 if ( cell.$ ) 345 { 346 if ( cell.$.colSpan == 1 ) 347 cell.remove(); 348 // Reduce the col spans. 349 else 350 cell.$.colSpan -= 1; 349 351 350 j += cell.$.rowSpan - 1;352 j += cell.$.rowSpan - 1; 351 353 352 if ( !row.$.cells.length ) 353 rowsToDelete.push( row ); 354 if ( !row.$.cells.length ) 355 rowsToDelete.push( row ); 356 } 354 357 } 355 358 } 356 359