aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnanya Sen2012-02-28 16:02:15 -0800
committerAnanya Sen2012-02-28 16:02:15 -0800
commit557c4d3100ccde51b925b71f0650b2c783a4a042 (patch)
tree0197aeaeccaf247887bae155f66999a3dc677e24
parenta230f0cd065613a1bc933e3d6d3f7e77f52bec04 (diff)
downloadninja-557c4d3100ccde51b925b71f0650b2c783a4a042.tar.gz
minor fix for handling selections on switch document
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
-rwxr-xr-xjs/panels/properties/content.reel/content.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/panels/properties/content.reel/content.js b/js/panels/properties/content.reel/content.js
index 9b9b7108..cc9ec96a 100755
--- a/js/panels/properties/content.reel/content.js
+++ b/js/panels/properties/content.reel/content.js
@@ -80,6 +80,12 @@ exports.Content = Montage.create(Component, {
80 // For now always assume that the stage is selected by default 80 // For now always assume that the stage is selected by default
81 if(this.application.ninja.selectedElements.length === 0) { 81 if(this.application.ninja.selectedElements.length === 0) {
82 this.displayStageProperties(); 82 this.displayStageProperties();
83 }else {
84 if(this.application.ninja.selectedElements.length === 1) {
85 this.displayElementProperties(this.application.ninja.selectedElements[0]._element);
86 } else {
87 this.displayGroupProperties(this.application.ninja.selectedElements);
88 }
83 } 89 }
84 } 90 }
85 }, 91 },