aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-26 17:10:03 -0700
committerValerio Virgillito2012-04-26 17:10:03 -0700
commit6c1aa27b7753bc9007514859b42160fae265740d (patch)
treef9a01321bafbc8baf91b0d8b0f6c43ddf5453c5d /js/panels
parent7968f3a9cf56392c914d6bd44cc90145b6d807a3 (diff)
parenta0ba2437965f486667d07bba60c031a11d778e6a (diff)
downloadninja-6c1aa27b7753bc9007514859b42160fae265740d.tar.gz
Merge branch 'stage-document-architecture' of https://github.com/mencio/ninja-internal into serialization
Diffstat (limited to 'js/panels')
-rwxr-xr-xjs/panels/properties.reel/properties.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/panels/properties.reel/properties.js b/js/panels/properties.reel/properties.js
index b21014c1..ee90cd64 100755
--- a/js/panels/properties.reel/properties.js
+++ b/js/panels/properties.reel/properties.js
@@ -174,6 +174,7 @@ exports.Properties = Montage.create(Component, {
174 handleSelectionChange: { 174 handleSelectionChange: {
175 value: function(event) { 175 value: function(event) {
176 if(event.detail.isDocument) { 176 if(event.detail.isDocument) {
177 if(this.application.ninja.currentDocument.documentRoot.nodeName.toLowerCase() === "body") return;
177 this.displayStageProperties(); 178 this.displayStageProperties();
178 } else { 179 } else {
179 if(this.application.ninja.selectedElements.length === 1) { 180 if(this.application.ninja.selectedElements.length === 1) {