diff options
author | Valerio Virgillito | 2012-06-27 23:28:31 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-27 23:28:31 -0700 |
commit | 299ad041ab8f8669b3688e5ce74df5213d82ade6 (patch) | |
tree | a9d5ff91681aa06bf26cb62994461a58d3f80005 | |
parent | ec438dd0b501296f9aca8fdab7be99e518d7a8fd (diff) | |
parent | 1e0b05465c120a2b17d0f8420787a1d002e4b28e (diff) | |
download | ninja-299ad041ab8f8669b3688e5ce74df5213d82ade6.tar.gz |
Merge pull request #352 from imix23ways/Timeline-IKNINJA-1843
Timeline: bug fix IKNINJA-1843
-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 | } |