Opened 13 years ago
Closed 11 years ago
#9075 closed Bug (duplicate)
Code error in verticalSplitCell function
Reported by: | tengshengbo | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Tables | Version: | 3.0 |
Keywords: | Cc: |
Description
There is a bug in verticalSplitCell function, tabletools plugin. Current code: function verticalSplitCell ( selection, isDetect )
The destination row is empty, append at will.
if ( !candidateCell ){
newCellTr.append( newCell, true);
}
The destination row may not be empty when candidateCell is null, and the argument "true" should not be used.
Right code:
if ( !candidateCell ){
newCellTr.append( newCell );
}
Attachments (1)
Change History (5)
comment:1 Changed 13 years ago by
Status: | new → pending |
---|
comment:2 Changed 13 years ago by
Test case:
- insert a 4 * 4 table,
- v-split the left-top cell,
- h-split the right-down cell,
- v-split the right-top cell.
comment:3 Changed 13 years ago by
Status: | pending → confirmed |
---|---|
Version: | 3.6.3 → 3.0 |
Could we ask you for a TC in which this error occurs? Any chance for a step by step scenario or reduced test case file?