aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Panel.reel/Panel.js
diff options
context:
space:
mode:
authorEric Guzman2012-06-19 01:20:36 -0700
committerEric Guzman2012-06-19 01:20:36 -0700
commit2ef72cdf0e59fb3623a2c13251ac707522f3dc5a (patch)
treef69f4e3de7e4441311ef2b38770e0ce26067aac4 /js/panels/Panel.reel/Panel.js
parent5260d3dfd99d79924c4aaa3ab798e90c7d328d7d (diff)
parent1007cbf983ad0f2460a4122a492a96023fdb4439 (diff)
downloadninja-2ef72cdf0e59fb3623a2c13251ac707522f3dc5a.tar.gz
Merge branch 'binding' of github.com:dhg637/ninja-internal into binding
Conflicts: js/stage/binding-view.reel/binding-view.js
Diffstat (limited to 'js/panels/Panel.reel/Panel.js')
-rwxr-xr-xjs/panels/Panel.reel/Panel.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/js/panels/Panel.reel/Panel.js b/js/panels/Panel.reel/Panel.js
index 3783459e..16643813 100755
--- a/js/panels/Panel.reel/Panel.js
+++ b/js/panels/Panel.reel/Panel.js
@@ -13,10 +13,15 @@ exports.Panel = Montage.create(Component, {
13 value: "Panel" 13 value: "Panel"
14 }, 14 },
15 15
16 groups: { 16 groups: {
17 value: [] 17 value: []
18 }, 18 },
19 19
20 panelContent: {
21 value: null,
22 serializable: true
23 },
24
20 _collapsed: { 25 _collapsed: {
21 value: false 26 value: false
22 }, 27 },
@@ -50,7 +55,8 @@ exports.Panel = Montage.create(Component, {
50 }, 55 },
51 56
52 resizer: { 57 resizer: {
53 value: null 58 value: null,
59 serializable: true
54 }, 60 },
55 61
56 modulePath: { 62 modulePath: {
@@ -120,8 +126,8 @@ exports.Panel = Montage.create(Component, {
120 126
121 this._currentDocument = value; 127 this._currentDocument = value;
122 128
123 if(typeof this.panelContent.content[0].controller._currentDocument !== "undefined") { 129 if(typeof this.panelContent.content._element.controller._currentDocument !== "undefined") {
124 this.panelContent.content[0].controller.currentDocument = this._currentDocument; 130 this.panelContent.content._element.controller.currentDocument = this._currentDocument;
125 } 131 }
126 132
127 if(!value) { 133 if(!value) {