diff options
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index df1a25a8..10097805 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -469,9 +469,14 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
469 | }, | 469 | }, |
470 | 470 | ||
471 | // Bind all document-specific events (pass in true to unbind) | 471 | // Bind all document-specific events (pass in true to unbind) |
472 | _bindDocumentEvents:{ | 472 | _bindDocumentEvents : { |
473 | value:function (boolUnbind) { | 473 | value: function(boolUnbind) { |
474 | var arrEvents = ["elementAdded", "elementDeleted", "selectionChange"], | 474 | var arrEvents = ["deleteLayerClick", |
475 | "newLayer", | ||
476 | "deleteLayer", | ||
477 | "elementAdded", | ||
478 | "elementsRemoved", | ||
479 | "selectionChange"], | ||
475 | i, | 480 | i, |
476 | arrEventsLength = arrEvents.length; | 481 | arrEventsLength = arrEvents.length; |
477 | 482 | ||