X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FBorderLayout.js;h=aeda210f7c200362e509c851de83886ab41bfa94;hb=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4;hp=fc3b74f0df4869a6a812b16d177378c1168d352b;hpb=e53ba0b2726d2583d33f54c77f3c4be369339fb6;p=roojs1 diff --git a/Roo/BorderLayout.js b/Roo/BorderLayout.js index fc3b74f0df..aeda210f7c 100644 --- a/Roo/BorderLayout.js +++ b/Roo/BorderLayout.js @@ -81,7 +81,6 @@ the container size if it is not the body element. */ Roo.BorderLayout = function(container, config){ config = config || {}; - Roo.log('2'); Roo.BorderLayout.superclass.constructor.call(this, container, config); this.factory = config.factory || Roo.BorderLayout.RegionFactory; for(var i = 0, len = this.factory.validRegions.length; i < len; i++) { @@ -123,7 +122,9 @@ Roo.extend(Roo.BorderLayout, Roo.LayoutManager, { * Performs a layout update. */ layout : function(){ - if(this.updating) return; + if(this.updating) { + return; + } var size = this.getViewSize(); var w = size.width; var h = size.height;