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

index d1fd808..301d775 100644 (file)
@@ -25,8 +25,8 @@ Roo.bootstrap.panel.Grid = function(config){
     
     if(this.toolbar){
         var tool_el = this.el.createChild();    
-        this.footer = Roo.factory(this.footer);
-        this.footer.render(tool_el);
+        this.toolbar = Roo.factory(this.toolbar);
+        this.toolbar.render(tool_el);
         
     }
     this.wrapper.dom.appendChild(config.grid.getGridEl().dom);