aboutsummaryrefslogtreecommitdiff
path: root/js/panels/PanelContainer/PanelContainer.reel
diff options
context:
space:
mode:
authorhwc4872012-02-03 09:33:35 -0800
committerhwc4872012-02-03 09:33:35 -0800
commit7dd20aec0a91731c2acaa0abfa66b754b6c82fe6 (patch)
tree278b656279d028d4d20ac5345837f1eb87ba4192 /js/panels/PanelContainer/PanelContainer.reel
parente02deaf0d1b1f7dbcf022442cb730490ac8cee8b (diff)
parentc630ead20487c3948fa36448d3e7d5f7b5cba782 (diff)
downloadninja-7dd20aec0a91731c2acaa0abfa66b754b6c82fe6.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into working
Diffstat (limited to 'js/panels/PanelContainer/PanelContainer.reel')
-rw-r--r--js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js b/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js
index 57187af1..66333cc0 100644
--- a/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js
+++ b/js/panels/PanelContainer/PanelContainer.reel/PanelContainer.js
@@ -91,7 +91,7 @@ exports.PanelContainer = Montage.create(Component, {
91 this.panelSplitter.disabled = true; 91 this.panelSplitter.disabled = true;
92 } 92 }
93 93
94 this.needsDraw = true; 94// this.needsDraw = true;
95 95
96 this.addEventListener("change@appModel.PropertiesPanel", this, false); 96 this.addEventListener("change@appModel.PropertiesPanel", this, false);
97 this.addEventListener("change@appModel.ProjectPanel", this, false); 97 this.addEventListener("change@appModel.ProjectPanel", this, false);
@@ -198,7 +198,7 @@ exports.PanelContainer = Montage.create(Component, {
198 minHeights += this.repeater.childComponents[i].element.offsetHeight; 198 minHeights += this.repeater.childComponents[i].element.offsetHeight;
199 } else { 199 } else {
200 this._panels[i].isLocked = false; 200 this._panels[i].isLocked = false;
201 this.repeater.childComponents[i].needsDraw = true; 201 if(this.repeater.childComponents[i]) this.repeater.childComponents[i].needsDraw = true;
202 minHeights += this._panels[i].minHeight; 202 minHeights += this._panels[i].minHeight;
203 } 203 }
204 } 204 }