Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4.1
[ckeditor.git]
/
_source
/
plugins
/
tabletools
/
plugin.js
diff --git
a/_source/plugins/tabletools/plugin.js
b/_source/plugins/tabletools/plugin.js
index
0ef39f0
..
b06f59a
100644
(file)
--- a/
_source/plugins/tabletools/plugin.js
+++ b/
_source/plugins/tabletools/plugin.js
@@
-148,12
+148,12
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
// Create a clone of the row.
\r
var newRow = row.clone( true );
\r
\r
// Create a clone of the row.
\r
var newRow = row.clone( true );
\r
\r
- // Insert the new row before of it.
\r
- newRow.insertBefore( row );
\r
+ insertBefore ?
\r
+ newRow.insertBefore( row ) :
\r
+ newRow.insertAfter( row );
\r
\r
\r
- // Clean one of the rows to produce the illusion of inserting an empty row
\r
- // before or after.
\r
- clearRow( insertBefore ? newRow.$ : row.$ );
\r
+ // Clean the new row.
\r
+ clearRow( newRow.$ );
\r
}
\r
\r
function deleteRows( selectionOrRow )
\r
}
\r
\r
function deleteRows( selectionOrRow )
\r