diff options
author | Valerio Virgillito | 2012-06-04 10:20:57 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-04 10:20:57 -0700 |
commit | c1ec69879028220b0c3f11ad6e24035bf527802c (patch) | |
tree | 043bfe4ec9e08f4f598a4845ae5fbcddacc7c8fb /js/panels/Timeline/Layer.reel/Layer.js | |
parent | 3abba04025dbc0daadb08184833a2558c442b8e1 (diff) | |
parent | 266460e52831c5b3a3473be420756fd88bb8aced (diff) | |
download | ninja-c1ec69879028220b0c3f11ad6e24035bf527802c.tar.gz |
Merge pull request #264 from mencio/document-bindings-fix
Document bindings fix - Changing the documents architecture to use bindings instead of events
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 e8619d02..16fb0303 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -717,7 +717,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
717 | this.dynamicLayerName.value = this._layerEditable.value; | 717 | this.dynamicLayerName.value = this._layerEditable.value; |
718 | this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = this.dynamicLayerName.value; | 718 | this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = this.dynamicLayerName.value; |
719 | this.needsDraw = true; | 719 | this.needsDraw = true; |
720 | this.application.ninja.documentController.activeDocument.model.needsSave = true; | 720 | this.application.ninja.currentDocument.model.needsSave = true; |
721 | } | 721 | } |
722 | }, | 722 | }, |
723 | handleAddStyleClick: { | 723 | handleAddStyleClick: { |
@@ -745,7 +745,7 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
745 | this.dynamicLayerName.value = newVal; | 745 | this.dynamicLayerName.value = newVal; |
746 | this.layerName = newVal; | 746 | this.layerName = newVal; |
747 | this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = newVal; | 747 | this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = newVal; |
748 | this.application.ninja.documentController.activeDocument.model.needsSave = true; | 748 | this.application.ninja.currentDocument.model.needsSave = true; |
749 | this.needsDraw = true; | 749 | this.needsDraw = true; |
750 | } | 750 | } |
751 | }, | 751 | }, |