diff options
author | Jonathan Duran | 2012-06-06 11:05:02 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-06-06 11:05:02 -0700 |
commit | b73cc6e348f3eb4cd57b5afeb7a6f5d3633b7e6b (patch) | |
tree | 278d2f47b547bca9951d5a81015f798bb476ed92 /js/panels/Timeline/Layer.reel/Layer.js | |
parent | 08552f055117908beb469cf53a5d65803c603b49 (diff) | |
download | ninja-b73cc6e348f3eb4cd57b5afeb7a6f5d3633b7e6b.tar.gz |
Fix references to documentController.activeDocument to currentDocument.model
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 4 |
1 files changed, 2 insertions, 2 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 | } |