Roo/BorderLayout.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 13 Dec 2011 05:47:06 +0000 (13:47 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 13 Dec 2011 05:47:06 +0000 (13:47 +0800)
Roo/BorderLayout.js

index a178eeb..6de14fa 100644 (file)
@@ -479,12 +479,13 @@ layout.addxtype({
         Roo.each(xitems, function(i)  {
             
             var add = ret.addxtype(i);
-            if (nb === true && !i.background) && i.region) {
+            if (nb === true && !i.background  && i.region) {
                 nb[i.region] = add;
             }
             
         });
         this.endUpdate();
+        // make the 
         if (nb) {
             for(var r in nb) {
                this.getRegion(r).showPanel(nb);