diff options
author | Pushkar Joshi | 2012-04-27 15:05:38 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-04-27 15:05:38 -0700 |
commit | c8fc8e1bd1c394f433b4fc1677f4bc596e7cc2cc (patch) | |
tree | 74fcb9818a917d4f8ddb0db0c78a8cff9af86339 /js/panels/properties.reel/properties.js | |
parent | 28d1594b868e3c08e5603adbd5b29df1e24d57e9 (diff) | |
parent | c8fac64d4ad8ac18744a17a5e0f0d17204355fd6 (diff) | |
download | ninja-c8fc8e1bd1c394f433b4fc1677f4bc596e7cc2cc.tar.gz |
Merge branch 'master' into pentool
Diffstat (limited to 'js/panels/properties.reel/properties.js')
-rwxr-xr-x | js/panels/properties.reel/properties.js | 1 |
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) { |