aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Panel.reel/Panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Panel.reel/Panel.js')
-rwxr-xr-xjs/panels/Panel.reel/Panel.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/panels/Panel.reel/Panel.js b/js/panels/Panel.reel/Panel.js
index 0c5f0b4b..3783459e 100755
--- a/js/panels/Panel.reel/Panel.js
+++ b/js/panels/Panel.reel/Panel.js
@@ -13,6 +13,10 @@ exports.Panel = Montage.create(Component, {
13 value: "Panel" 13 value: "Panel"
14 }, 14 },
15 15
16 groups: {
17 value: []
18 },
19
16 _collapsed: { 20 _collapsed: {
17 value: false 21 value: false
18 }, 22 },
@@ -148,6 +152,12 @@ exports.Panel = Montage.create(Component, {
148 this.application.ninja.colorController.colorView = this.application.ninja.colorController.colorPanelBase.create(); 152 this.application.ninja.colorController.colorView = this.application.ninja.colorController.colorPanelBase.create();
149 } 153 }
150 154
155 if(this.groups) {
156 this.groups.forEach(function(className) {
157 this.element.classList.add(className);
158 }.bind(this));
159 }
160
151 if(this.modulePath && this.moduleName) { 161 if(this.modulePath && this.moduleName) {
152 // Load the slot content 162 // Load the slot content
153 var that = this; 163 var that = this;