diff options
author | Valerio Virgillito | 2012-02-21 14:32:17 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-21 14:32:17 -0800 |
commit | b1daf0b285a4a96bfd0086709c20e3682d75551a (patch) | |
tree | c6e8bcf8b7c0639a1e52009c3d1a89c95d2a91d6 /js/mediators | |
parent | 10c5ca3b1ac764b611051dc590f3092f269b1bf6 (diff) | |
download | ninja-b1daf0b285a4a96bfd0086709c20e3682d75551a.tar.gz |
fixing the dirty flag and removing sass changes
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
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 | }, |