Changes between Initial Version and Version 2 of Ticket #9037
- Timestamp:
- Jun 15, 2012, 8:27:12 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9037 – Description
initial v2 1 1 steps: 2 1 ,create a 3x3 table3 2 ,horizontal split the first cell in the second row4 3 ,vertical split the second cell in the first row,5 Defect: 2 1. create a 3x3 table 3 2. horizontal split the first cell in the second row 4 3. vertical split the second cell in the first row, 5 **Defect:** [[BR]] 6 6 the table becomes messy. 7 7 8 8 This bug is in "verticalSplitCell" function. When figuring out where to insert the new cell by checking the virtual row, the index is wrong. My fix: 9 9 10 10 {{{ 11 11 var currentIndex = 0; 12 12 // Figure out where to insert the new cell by checking the vitual row. 13 13 for ( var c = 0; c < newCellRow.length; c++ ) 14 14 { … … 35 35 36 36 } 37 }}} 37 38 38