fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Do not set text on canvas element if it didn't change.
[fnpeditor.git]
/
src
/
editor
/
modules
/
data
/
data.js
diff --git
a/src/editor/modules/data/data.js
b/src/editor/modules/data/data.js
index
7f60004
..
7c9077f
100644
(file)
--- a/
src/editor/modules/data/data.js
+++ b/
src/editor/modules/data/data.js
@@
-108,6
+108,7
@@
return function(sandbox) {
success: function(data) {
document_version = data.current_version;
reloadHistory();
success: function(data) {
document_version = data.current_version;
reloadHistory();
+ wlxmlDocument.loadXML(data.document);
sandbox.publish('documentReverted', data);
},
});
sandbox.publish('documentReverted', data);
},
});