aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Duran2012-04-04 11:11:09 -0700
committerJonathan Duran2012-04-04 11:11:09 -0700
commit61404b1965ffe7011ec86953f853f0954ccc308d (patch)
treee22433f3179062a3e08e720ff6cf338f921b475b
parent7e6db5a574e63c5c21b15381c04736b6177cf0dc (diff)
downloadninja-61404b1965ffe7011ec86953f853f0954ccc308d.tar.gz
Changing layer name should put dirty flag on doc
Signed-off-by: Jonathan Duran <jduran@motorola.com>
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js
index 5a393039..2f0310a9 100644
--- a/js/panels/Timeline/Layer.reel/Layer.js
+++ b/js/panels/Timeline/Layer.reel/Layer.js
@@ -493,6 +493,7 @@ var Layer = exports.Layer = Montage.create(Component, {
493 that.dynamicLayerName.value = that._layerEditable.value; 493 that.dynamicLayerName.value = that._layerEditable.value;
494 this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = that.dynamicLayerName.value; 494 this.application.ninja.timeline.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = that.dynamicLayerName.value;
495 that.needsDraw = true; 495 that.needsDraw = true;
496 this.application.ninja.documentController.activeDocument.needsSave = true;
496 }, false); 497 }, false);
497 this._layerEditable.editingClass = "editable2"; 498 this._layerEditable.editingClass = "editable2";
498 this._layerEditable.value = this.layerName; 499 this._layerEditable.value = this.layerName;