Roo/BorderLayout.js
[roojs1] / Roo / BorderLayout.js
index 270f6a8..a70dbb1 100644 (file)
@@ -479,7 +479,8 @@ layout.addxtype({
         Roo.each(xitems, function(i)  {
             
             var add = ret.addxtype(i);
-            if (nb === true && !i.background  && i.region) {
+            
+            if (nb  && !add.background  && i.region) {
                 nb[i.region] = add;
             }