Roo/Toolbar.js
authorEdward <edward@roojs.com>
Tue, 19 May 2015 10:03:46 +0000 (18:03 +0800)
committerEdward <edward@roojs.com>
Tue, 19 May 2015 10:03:46 +0000 (18:03 +0800)
Roo/Toolbar.js

index d9b6e60..2945bae 100644 (file)
@@ -381,16 +381,13 @@ Roo.extend(Roo.Toolbar.Item, Roo.util.Observable, {
     },
 
     // private
-//    render : function(td){
-//        this.td = td;
-//        td.appendChild(this.el);
-//        
-//        this.fireEvent('render', this);
-//    },
     render : function(td){
         this.td = td;
-        Roo.Toolbar.Item.superclass.render.call(this, td);
+        td.appendChild(this.el);
+        
+        this.fireEvent('render', this);
     },
+    
     /**
      * Removes and destroys this item.
      */