diff options
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 | } |