Roo/bootstrap/layout/Border.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Jul 2017 02:09:31 +0000 (10:09 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Jul 2017 02:09:31 +0000 (10:09 +0800)
Roo/bootstrap/layout/Border.js

index 8961bf2..36a0fdd 100644 (file)
@@ -359,11 +359,11 @@ layout.addxtype({
                     // render grid on panel activation (if panel background)
                     ret.on('activate', function(gp) {
                         if (!gp.grid.rendered) {
-                            gp.grid.render(el);
+                            gp.grid.render(cfg.grid.getGridEl());
                         }
                     });
                 } else {
-                    cfg.grid.render(el);
+                    cfg.grid.render(cfg.grid.getGridEl());
                 }
                 break;