projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd16a0
)
Roo/bootstrap/PagingToolbar.js
author
edward
<edward@roojs.com>
Tue, 8 Mar 2016 04:44:42 +0000
(12:44 +0800)
committer
edward
<edward@roojs.com>
Tue, 8 Mar 2016 04:44:42 +0000
(12:44 +0800)
Roo/bootstrap/PagingToolbar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/PagingToolbar.js
b/Roo/bootstrap/PagingToolbar.js
index
f5cd062
..
49ee7f3
100644
(file)
--- a/
Roo/bootstrap/PagingToolbar.js
+++ b/
Roo/bootstrap/PagingToolbar.js
@@
-22,22
+22,11
@@
Roo.bootstrap.PagingToolbar = function(config)
{
// old args format still supported... - xtype is prefered..
// created from xtype...
-
- var ds = config.dataSource;
-
- Roo.log(config);
- Roo.log(ds);
-
- Roo.log(this);
- Roo.log('store??');
- Roo.log(this.store);
+ var ds = config.dataSource;
- if (this.store && !ds) {
-
- Roo.log('run??');
-
- this.store= Roo.factory(this.store, Roo.data);
+ if (config.store && !ds) {
+ this.store= Roo.factory(config.store, Roo.data);
ds = this.store;
ds.xmodule = this.xmodule || false;
}