roojs-debug.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 13 Dec 2011 05:49:35 +0000 (13:49 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 13 Dec 2011 05:49:35 +0000 (13:49 +0800)
roojs-debug.js

index b93a1a0..4b79e20 100644 (file)
@@ -44852,14 +44852,15 @@ layout.addxtype({
         Roo.each(xitems, function(i)  {
             
             var add = ret.addxtype(i);
-            if (nb === true && !i.background  && i.region) {
+            
+            if (nb !== false  && !add.background  && i.region) {
                 nb[i.region] = add;
             }
             
         });
         this.endUpdate();
         // make the last non-background panel active..
-        Roo.log(nb);
+        //Roo.log(nb);
         if (nb) {
             for(var r in nb) {
                this.getRegion(r).showPanel(nb);