diff options
author | Valerio Virgillito | 2012-06-13 17:05:20 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-13 17:05:20 -0700 |
commit | 06679a2c21c6c749c8b3ea1a74431f6833726062 (patch) | |
tree | 32dd6a587a7c5875c3b3455a04ef635b3c85418d /js | |
parent | 682f4917d6badd105998c3dd84d031c38b51f017 (diff) | |
parent | f78a6977159bd0310235feb82df18a6ed9df2d7a (diff) | |
download | ninja-06679a2c21c6c749c8b3ea1a74431f6833726062.tar.gz |
Merge pull request #300 from mqg734/IKNinja_1715
IKNinja-1715 - GIO: canvas tag is not saved after switching WebGL option On/Off in the PI for the shape object.
Diffstat (limited to 'js')
-rwxr-xr-x | js/mediators/element-mediator.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js index 40e94cca..611cf214 100755 --- a/js/mediators/element-mediator.js +++ b/js/mediators/element-mediator.js | |||
@@ -84,6 +84,7 @@ exports.ElementMediator = Montage.create(Component, { | |||
84 | value: function(newChild, oldChild, notify) { | 84 | value: function(newChild, oldChild, notify) { |
85 | 85 | ||
86 | this.application.ninja.currentDocument.model.documentRoot.replaceChild(newChild, oldChild); | 86 | this.application.ninja.currentDocument.model.documentRoot.replaceChild(newChild, oldChild); |
87 | if (newChild.getAttribute) newChild.setAttribute('data-ninja-node', 'true'); | ||
87 | 88 | ||
88 | var undoLabel = "replace element"; | 89 | var undoLabel = "replace element"; |
89 | 90 | ||