Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 5883)
+++ /CKEditor/trunk/CHANGES.html (revision 5884)
@@ -88,4 +88,5 @@
#6179 : [WebKit] The Image dialog was not working if the editor didn't receive the focus first.
#4657 : [Opera] Styles where not working with collapsed selections.
+ #5839 : "Insert row after" was removing the ids of the elements from the clicked row.
Updated the following language files:
- #6246 : Chinese Simplified;
Index: /CKEditor/trunk/_source/plugins/tabletools/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/tabletools/plugin.js (revision 5883)
+++ /CKEditor/trunk/_source/plugins/tabletools/plugin.js (revision 5884)
@@ -149,10 +149,10 @@
var newRow = row.clone( true );
- // Insert the new row before of it.
- newRow.insertBefore( row );
-
- // Clean one of the rows to produce the illusion of inserting an empty row
- // before or after.
- clearRow( insertBefore ? newRow.$ : row.$ );
+ insertBefore ?
+ newRow.insertBefore( row ) :
+ newRow.insertAfter( row );
+
+ // Clean the new row.
+ clearRow( newRow.$ );
}