remove debugging code
[roojs1] / Roo / bootstrap / TableBody.js
index 78e1b7f..8f23365 100644 (file)
@@ -35,10 +35,10 @@ Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component,  {
     getAutoCreate : function(){
         var cfg = Roo.apply({}, Roo.bootstrap.TableBody.superclass.getAutoCreate.call(this));
        
-       cfg = {
-           tag: 'tbody'
-       }
-        
+        cfg = {
+            tag: 'tbody'
+        };
+            
         if (this.cls) {
             cfg.cls=this.cls
         }
@@ -58,7 +58,28 @@ Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component,  {
         
         return cfg;
     }
-   
+    
+    
+//    initEvents : function()
+//    {
+//        
+//        if(!this.store){
+//            return;
+//        }
+//        
+//        this.store = Roo.factory(this.store, Roo.data);
+//        this.store.on('load', this.onLoad, this);
+//        
+//        this.store.load();
+//        
+//    },
+//    
+//    onLoad: function () 
+//    {   
+//        this.fireEvent('load', this);
+//    }
+//    
+//   
 });