projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5917725
)
Roo/bootstrap/TableBody.js
author
Edward
<edward@roojs.com>
Wed, 30 Apr 2014 08:15:06 +0000
(16:15 +0800)
committer
Edward
<edward@roojs.com>
Wed, 30 Apr 2014 08:15:06 +0000
(16:15 +0800)
Roo/bootstrap/TableBody.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TableBody.js
b/Roo/bootstrap/TableBody.js
index
4a40021
..
82bfeaa
100644
(file)
--- a/
Roo/bootstrap/TableBody.js
+++ b/
Roo/bootstrap/TableBody.js
@@
-57,27
+57,27
@@
Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component, {
}
return cfg;
}
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();
+
+ },
-// 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);
-// }
-//
+ onLoad: function ()
+ {
+ this.fireEvent('load', this);
+ }
+
});
});