aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline')
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.js4
-rw-r--r--js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js6
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js2
3 files changed, 6 insertions, 6 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js
index 4da1bfba..3fc5a3e1 100644
--- a/js/panels/Timeline/Layer.reel/Layer.js
+++ b/js/panels/Timeline/Layer.reel/Layer.js
@@ -744,7 +744,7 @@ var Layer = exports.Layer = Montage.create(Component, {
744 744
745 if (this._layerEditable.value !== this.layerName) { 745 if (this._layerEditable.value !== this.layerName) {
746 this.layerName = this._layerEditable.value; 746 this.layerName = this._layerEditable.value;
747 this.application.ninja.documentController.activeDocument.needsSave = true; 747 this.application.ninja.currentDocument.model.needsSave = true;
748 this.layerData.stageElement.setAttribute("id",this._layerEditable.value); 748 this.layerData.stageElement.setAttribute("id",this._layerEditable.value);
749 } 749 }
750 } 750 }
@@ -782,7 +782,7 @@ var Layer = exports.Layer = Montage.create(Component, {
782 this.layerName = newVal; 782 this.layerName = newVal;
783 if (newVal !== this.layerName) { 783 if (newVal !== this.layerName) {
784 this.layerName = newVal; 784 this.layerName = newVal;
785 this.application.ninja.documentController.activeDocument.needsSave = true; 785 this.application.ninja.currentDocument.model.needsSave = true;
786 this.layerData.stageElement.setAttribute("id", newVal); 786 this.layerData.stageElement.setAttribute("id", newVal);
787 } 787 }
788 } 788 }
diff --git a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js
index 1e495402..59bc14e4 100644
--- a/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js
+++ b/js/panels/Timeline/PropertyTrack.reel/PropertyTrack.js
@@ -270,7 +270,7 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, {
270 this.nextKeyframe += 1; 270 this.nextKeyframe += 1;
271 } 271 }
272 272
273 this.application.ninja.documentController.activeDocument.needsSave = true; 273 this.application.ninja.currentDocument.model.needsSave = true;
274 } 274 }
275 }, 275 },
276 276
@@ -309,7 +309,7 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, {
309 break; 309 break;
310 } 310 }
311 } 311 }
312 this.application.ninja.documentController.activeDocument.needsSave = true; 312 this.application.ninja.currentDocument.model.needsSave = true;
313 } 313 }
314 }, 314 },
315 315
@@ -342,7 +342,7 @@ var PropertyTrack = exports.PropertyTrack = Montage.create(Component, {
342 keyframeString += " }"; 342 keyframeString += " }";
343 // set the keyframe string as the new rule 343 // set the keyframe string as the new rule
344 this.currentKeyframeRule = this.ninjaStylesContoller.addRule(keyframeString); 344 this.currentKeyframeRule = this.ninjaStylesContoller.addRule(keyframeString);
345 this.application.ninja.documentController.activeDocument.needsSave = true; 345 this.application.ninja.currentDocument.model.needsSave = true;
346 } 346 }
347 }, 347 },
348 348
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
index 0bd4b674..bd55f2fb 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -725,7 +725,7 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
725 break; 725 break;
726 } 726 }
727 } 727 }
728 this.application.ninja.documentController.activeDocument.needsSave = true; 728 this.application.ninja.currentDocument.model.needsSave = true;
729 } 729 }
730 }, 730 },
731 731