aboutsummaryrefslogtreecommitdiff
path: root/js/panels/PanelContainer.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/PanelContainer.reel')
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/panels/PanelContainer.reel/PanelContainer.js b/js/panels/PanelContainer.reel/PanelContainer.js
index 6718d104..07203088 100755
--- a/js/panels/PanelContainer.reel/PanelContainer.js
+++ b/js/panels/PanelContainer.reel/PanelContainer.js
@@ -27,13 +27,13 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28POSSIBILITY OF SUCH DAMAGE. 28POSSIBILITY OF SUCH DAMAGE.
29</copyright> */ 29</copyright> */
30 30
31/* 31/*
32Panel Container - A container for other panels 32Panel Container - A container for other panels
33*/ 33*/
34var Montage = require("montage/core/core").Montage, 34var Montage = require("montage/core/core").Montage,
35 Component = require("montage/ui/component").Component; 35 Component = require("montage/ui/component").Component;
36 36
37exports.PanelContainer = Montage.create(Component, { 37exports.PanelContainer = Montage.create(Component, {
38 38
39 panelSplitter: { 39 panelSplitter: {
@@ -167,19 +167,19 @@ exports.PanelContainer = Montage.create(Component, {
167 this.application.localStorage.setItem("panels", this.currentPanelState); 167 this.application.localStorage.setItem("panels", this.currentPanelState);
168 } 168 }
169 }, 169 },
170 170
171 prepareForDraw: { 171 prepareForDraw: {
172 value: function() { 172 value: function() {
173 window.addEventListener("resize", this, false); 173 window.addEventListener("resize", this, false);
174 } 174 }
175 }, 175 },
176 176
177 handlePanelResizing: { 177 handlePanelResizing: {
178 value: function(e) { 178 value: function(e) {
179 this._setPanelsSizes(e.target); 179 this._setPanelsSizes(e.target);
180 } 180 }
181 }, 181 },
182 182
183 handleResize: { 183 handleResize: {
184 value: function(e) { 184 value: function(e) {
185 this._redrawPanels(null, true); 185 this._redrawPanels(null, true);
@@ -220,7 +220,7 @@ exports.PanelContainer = Montage.create(Component, {
220 220
221 } 221 }
222 }, 222 },
223 223
224 _setPanelsSizes: { 224 _setPanelsSizes: {
225 value: function(panelActivated) { 225 value: function(panelActivated) {
226 var availablePanels = this.panelsAvailable(); 226 var availablePanels = this.panelsAvailable();
@@ -283,7 +283,7 @@ exports.PanelContainer = Montage.create(Component, {
283 } 283 }
284 } 284 }
285 }, 285 },
286 286
287 handleAction: { 287 handleAction: {
288 value: function(e) { 288 value: function(e) {
289 var unlockPanels = true; 289 var unlockPanels = true;
@@ -315,5 +315,5 @@ exports.PanelContainer = Montage.create(Component, {
315 } 315 }
316 } 316 }
317 } 317 }
318 318
319}); 319});