aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorJonathan Duran2012-04-04 11:31:58 -0700
committerJonathan Duran2012-04-04 11:31:58 -0700
commit021f3d7703911811344125f048235789cbd65556 (patch)
treea1416e0323027a19ccf9707a4c8cb37e6edc7470 /js/panels
parent04ca16276e73dbd238b42fd898f8b3cccc730f18 (diff)
downloadninja-021f3d7703911811344125f048235789cbd65556.tar.gz
Update timeline to work with new element removed event
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 10097805..d4f92b39 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -834,12 +834,12 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
834 handleElementAdded:{ 834 handleElementAdded:{
835 value:function() { 835 value:function() {
836 this.createNewLayer(); 836 this.createNewLayer();
837 this.currentLayerSelected.layerData.elementsList.push(this.application.ninja.selectedElements[0]._element); 837 this.currentLayerSelected.layerData.elementsList.push(this.application.ninja.selectedElements[0]);
838 this.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = this.currentLayerSelected.layerData.layerName; 838 this.currentLayerSelected.layerData.elementsList[0].dataset.storedLayerName = this.currentLayerSelected.layerData.layerName;
839 } 839 }
840 }, 840 },
841 841
842 handleElementDeleted:{ 842 handleElementsRemoved:{
843 value:function () { 843 value:function () {
844 this.deleteLayer(); 844 this.deleteLayer();
845 } 845 }