diff options
author | Valerio Virgillito | 2012-04-26 13:24:51 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-26 13:24:51 -0700 |
commit | 1ccc4d6dcff232b00763a5a49d7ad7a91f78ad3f (patch) | |
tree | 3d1f74c243cb2d12325ffba3960a63ff627e7e2c /js/panels | |
parent | d0893407d35f4e05bbe2fd41c2b70151984fe481 (diff) | |
download | ninja-1ccc4d6dcff232b00763a5a49d7ad7a91f78ad3f.tar.gz |
Fixing the element model and adding get element
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels')
-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) { |