Skip to content

Commit

Permalink
Updated 'getCleanContent' in api to not clone events when cloning the…
Browse files Browse the repository at this point in the history
… tracked editor contents.
  • Loading branch information
sanjayginde committed Apr 26, 2012
1 parent f8d93fa commit 366577c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ice.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ InlineChangeEditor.prototype = {
if(typeof body === 'string')
body = ice.dom.create('<div>' + body + '</div>');
else
body = ice.dom.cloneNode(body)[0];
body = ice.dom.cloneNode(body, false)[0];
} else {
body = ice.dom.cloneNode(this.element)[0];
body = ice.dom.cloneNode(this.element, false)[0];
}
var changes = ice.dom.find(body, classList);
ice.dom.each(changes, function(el, i) {
Expand Down

0 comments on commit 366577c

Please sign in to comment.