diff options
author | Jonathan Duran | 2012-04-10 08:16:17 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-04-10 08:16:17 -0700 |
commit | e0f67d9075f53ef95a9c811c6737cd4f1c9d96da (patch) | |
tree | 668a7a9a7ce01e51ec6b896e4626b661555a6955 /js/panels/Timeline/Layer.reel | |
parent | 58e049b68e03abbacde93206d2666361022c0858 (diff) | |
parent | d343c7b3f482c17176cca3ddb6e7f8753169ad48 (diff) | |
download | ninja-e0f67d9075f53ef95a9c811c6737cd4f1c9d96da.tar.gz |
Merge branch 'refs/heads/timeline-local' into TimelineUber
Diffstat (limited to 'js/panels/Timeline/Layer.reel')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index 3bcc1401..f9edfca6 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -710,13 +710,14 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
710 | handleSelectorEditableBlur : { | 710 | handleSelectorEditableBlur : { |
711 | value: function(event) { | 711 | value: function(event) { |
712 | this.titleSelector.scrollLeft = 0; | 712 | this.titleSelector.scrollLeft = 0; |
713 | this.handleSelectorEditableChange(event); | ||
713 | } | 714 | } |
714 | }, | 715 | }, |
715 | handleSelectorEditableChange: { | 716 | handleSelectorEditableChange: { |
716 | value: function(event) { | 717 | value: function(event) { |
717 | var newVal = "ONTD"; | 718 | var newVal = this._layerEditable.enteredValue; |
718 | if (this._layerEditable.value !== "") { | 719 | if (this._layerEditable.enteredValue.length === 0) { |
719 | newVal = this._layerEditable.value; | 720 | newVal = this._layerEditable._preEditValue; |
720 | } | 721 | } |
721 | this.dynamicLayerName.value = newVal; | 722 | this.dynamicLayerName.value = newVal; |
722 | this.layerName = newVal; | 723 | this.layerName = newVal; |