diff options
author | Jon Reid | 2012-06-27 21:06:25 -0700 |
---|---|---|
committer | Jon Reid | 2012-06-27 21:06:25 -0700 |
commit | 1e0b05465c120a2b17d0f8420787a1d002e4b28e (patch) | |
tree | a9d5ff91681aa06bf26cb62994461a58d3f80005 /js/panels/Timeline/TimelinePanel.reel | |
parent | ec438dd0b501296f9aca8fdab7be99e518d7a8fd (diff) | |
download | ninja-1e0b05465c120a2b17d0f8420787a1d002e4b28e.tar.gz |
Timeline: bug fix IKNINJA-1843
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 50171260..ef13f22e 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -1773,6 +1773,9 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
1773 | currentLayersSelectedLength = this.currentLayersSelected.length, | 1773 | currentLayersSelectedLength = this.currentLayersSelected.length, |
1774 | arrLayersLength = this.arrLayers.length, | 1774 | arrLayersLength = this.arrLayers.length, |
1775 | returnVal = arrLayersLength -1; | 1775 | returnVal = arrLayersLength -1; |
1776 | if (returnVal === -1) { | ||
1777 | return false; | ||
1778 | } | ||
1776 | if (this.currentLayersSelected === false) { | 1779 | if (this.currentLayersSelected === false) { |
1777 | return false; | 1780 | return false; |
1778 | } | 1781 | } |