diff options
Diffstat (limited to 'js/mediators')
-rwxr-xr-x | js/mediators/element-mediator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js index 6088aeab..95a72c89 100755 --- a/js/mediators/element-mediator.js +++ b/js/mediators/element-mediator.js | |||
@@ -102,7 +102,7 @@ exports.ElementMediator = Montage.create(NJComponent, { | |||
102 | el.elementModel.controller["set3DProperties"](el, [p3d], 0, true); | 102 | el.elementModel.controller["set3DProperties"](el, [p3d], 0, true); |
103 | } | 103 | } |
104 | if(!noEvent) { | 104 | if(!noEvent) { |
105 | this.application.ninja.documentController.activeDocument.markEdited(); | 105 | this.application.ninja.documentController.activeDocument.needsSave = true; |
106 | NJevent("elementAdded", el); | 106 | NJevent("elementAdded", el); |
107 | } | 107 | } |
108 | } | 108 | } |
@@ -130,7 +130,7 @@ exports.ElementMediator = Montage.create(NJComponent, { | |||
130 | _removeElement: { | 130 | _removeElement: { |
131 | value: function(el, rules) { | 131 | value: function(el, rules) { |
132 | ElementController.removeElement(el, rules); | 132 | ElementController.removeElement(el, rules); |
133 | this.application.ninja.documentController.activeDocument.markEdited(); | 133 | this.application.ninja.documentController.activeDocument.needsSave = true; |
134 | NJevent("elementDeleted", el); | 134 | NJevent("elementDeleted", el); |
135 | } | 135 | } |
136 | }, | 136 | }, |