diff options
author | Valerio Virgillito | 2012-05-11 14:46:51 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-11 14:46:51 -0700 |
commit | 1fb663b5f348fe2ff5ce86a80e8a61be289eba70 (patch) | |
tree | 7ccb54a07eb4adf793bae3f1a4ddd622bd4f9a0c /js/panels | |
parent | 647a7cf0697debe7b3d6fa0d68cd6b37996d6b59 (diff) | |
parent | d2e1d4eeba4439ed26f2adf1c34991caf44a591f (diff) | |
download | ninja-1fb663b5f348fe2ff5ce86a80e8a61be289eba70.tar.gz |
Merge pull request #222 from joseeight/Document
Adding partial support for templates
Diffstat (limited to 'js/panels')
-rwxr-xr-x | js/panels/properties.reel/properties.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/panels/properties.reel/properties.js b/js/panels/properties.reel/properties.js index 6f43ce03..20f670d9 100755 --- a/js/panels/properties.reel/properties.js +++ b/js/panels/properties.reel/properties.js | |||
@@ -75,9 +75,7 @@ exports.Properties = Montage.create(Component, { | |||
75 | 75 | ||
76 | // For now always assume that the stage is selected by default when opening the old template | 76 | // For now always assume that the stage is selected by default when opening the old template |
77 | // TODO: Remove marker for old template: NINJA-STAGE-REWORK | 77 | // TODO: Remove marker for old template: NINJA-STAGE-REWORK |
78 | if(this.application.ninja.selectedElements.length === 0 && this.application.ninja.currentDocument.documentRoot.nodeName.toLowerCase() !== "body") { | 78 | |
79 | this.displayStageProperties(); | ||
80 | } | ||
81 | this.displayElementProperties(this.application.ninja.currentDocument.documentRoot); | 79 | this.displayElementProperties(this.application.ninja.currentDocument.documentRoot); |
82 | } | 80 | } |
83 | }, | 81 | }, |