fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactoring
[fnpeditor.git]
/
modules
/
documentCanvas
/
canvas
/
canvas.js
diff --git
a/modules/documentCanvas/canvas/canvas.js
b/modules/documentCanvas/canvas/canvas.js
index
8882c1c
..
19c2a3f
100644
(file)
--- a/
modules/documentCanvas/canvas/canvas.js
+++ b/
modules/documentCanvas/canvas/canvas.js
@@
-320,8
+320,9
@@
$.extend(Canvas.prototype, {
},
toXML: function() {
- var parent = $('<div>');
- this.doc().toXML(parent, 0)
+ var parent = $('<div>'),
+ parts = this.doc().toXML(0);
+ parent.append(parts);
return parent.html();
}
});