Ticket #6607: 6607.patch
File 6607.patch, 973 bytes (added by , 14 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
464 464 var targetCell; 465 465 try 466 466 { 467 var rowspan = parseInt( firstCell.getAttribute( 'rowspan' ), 10 ) || 1; 468 var colspan = parseInt( firstCell.getAttribute( 'colspan' ), 10 ) || 1; 469 467 470 targetCell = 468 471 map[ mergeDirection == 'up' ? 469 ( startRow - 1):470 mergeDirection == 'down' ? ( startRow + 1) : startRow ] [472 ( startRow - rowspan ): 473 mergeDirection == 'down' ? ( startRow + rowspan ) : startRow ] [ 471 474 mergeDirection == 'left' ? 472 ( startColumn - 1):473 mergeDirection == 'right' ? ( startColumn + 1) : startColumn ];475 ( startColumn - colspan ): 476 mergeDirection == 'right' ? ( startColumn + colspan ) : startColumn ]; 474 477 475 478 } 476 479 catch( er )