Roo/bootstrap/panel/Grid.js
authorAlan Knowles <alan@roojs.com>
Mon, 10 Jul 2017 03:18:47 +0000 (11:18 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 10 Jul 2017 03:18:47 +0000 (11:18 +0800)
Roo/bootstrap/panel/Grid.js

index a607f5e..cdbfb25 100644 (file)
@@ -23,9 +23,9 @@ Roo.bootstrap.panel.Grid = function(config){
         {tag: "div", cls: "x-layout-grid-wrapper x-layout-inactive-content"}, true);
 
     
-    if(this.toolbar){
+    if(config.toolbar){
         var tool_el = this.el.createChild();    
-        this.toolbar = Roo.factory(this.toolbar);
+        this.toolbar = Roo.factory(config.toolbar);
         this.toolbar.render(tool_el);
         
     }