aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-11 14:46:51 -0700
committerValerio Virgillito2012-05-11 14:46:51 -0700
commit1fb663b5f348fe2ff5ce86a80e8a61be289eba70 (patch)
tree7ccb54a07eb4adf793bae3f1a4ddd622bd4f9a0c /js/panels
parent647a7cf0697debe7b3d6fa0d68cd6b37996d6b59 (diff)
parentd2e1d4eeba4439ed26f2adf1c34991caf44a591f (diff)
downloadninja-1fb663b5f348fe2ff5ce86a80e8a61be289eba70.tar.gz
Merge pull request #222 from joseeight/Document
Adding partial support for templates
Diffstat (limited to 'js/panels')
-rwxr-xr-xjs/panels/properties.reel/properties.js4
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 },