Ticket #5839: 5839.patch
File 5839.patch, 795 bytes (added by , 14 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
148 148 // Create a clone of the row. 149 149 var newRow = row.clone( true ); 150 150 151 // Insert the new row before of it. 152 newRow.insertBefore( row ); 151 if( insertBefore ) 152 newRow.insertBefore( row ); 153 else 154 newRow.insertAfter( row ); 153 155 154 // Clean one of the rows to produce the illusion of inserting an empty row 155 // before or after. 156 clearRow( insertBefore ? newRow.$ : row.$ ); 156 // Clean new row to produce the illusion of inserting an empty row 157 clearRow( newRow.$ ); 157 158 } 158 159 159 160 function deleteRows( selectionOrRow )