diff options
author | Jose Antonio Marquez | 2012-05-11 14:41:20 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-11 14:41:20 -0700 |
commit | c87e538fdc337639bc4d54bb087dbf2b4f20297f (patch) | |
tree | bbbcf496841932261b21f977061fd41c01c0e0a6 /js/panels | |
parent | f10bec0c594c6404eec51dc1a005f7f17570ba52 (diff) | |
download | ninja-c87e538fdc337639bc4d54bb087dbf2b4f20297f.tar.gz |
Adding support for new templates
This is supported for NEW and OPEN, SAVE is not supported yet by I/O. Saving works, but it will not be a banner template.
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 | }, |