roojs-debug.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 13 Dec 2011 06:15:48 +0000 (14:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 13 Dec 2011 06:15:48 +0000 (14:15 +0800)
roojs-debug.js

index 025b8f0..13955ce 100644 (file)
@@ -44859,7 +44859,8 @@ layout.addxtype({
             }
             
         });
-  
+        this.endUpdate();
+
         // make the last non-background panel active..
         //if (nb) { Roo.log(nb); }
         if (nb) {
@@ -44867,11 +44868,10 @@ layout.addxtype({
             for(var r in nb) {
                 region = this.getRegion(r);
                 if (region) {
-                    region.setActivePanel(nb[r]);
+                    region.showPanel(0);
                 }
             }
         }
-        this.endUpdate();
         return ret;
         
     }