Roo/Toolbar.js
authorEdward <edward@roojs.com>
Mon, 16 Sep 2013 04:08:28 +0000 (12:08 +0800)
committerEdward <edward@roojs.com>
Mon, 16 Sep 2013 04:08:28 +0000 (12:08 +0800)
Roo/Toolbar.js

index d429219..15707c6 100644 (file)
@@ -37,13 +37,13 @@ Roo.Toolbar = function(container, buttons, config)
     Roo.apply(this, config);
     this.buttons = buttons;
     
-    if(container){
-        this.render(container);
-    }
-    this.xitems = xitems;
-    Roo.each(xitems, function(b) {
-        this.add(b);
-    }, this);
+//    if(container){
+//        this.render(container);
+//    }
+//    this.xitems = xitems;
+//    Roo.each(xitems, function(b) {
+//        this.add(b);
+//    }, this);
     
 };