projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff4501b
)
Roo/bootstrap/PagingToolbar.js
author
edward
<edward@roojs.com>
Tue, 8 Mar 2016 04:15:30 +0000
(12:15 +0800)
committer
edward
<edward@roojs.com>
Tue, 8 Mar 2016 04:15:30 +0000
(12:15 +0800)
Roo/bootstrap/PagingToolbar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/PagingToolbar.js
b/Roo/bootstrap/PagingToolbar.js
index
184a451
..
bcef7e4
100644
(file)
--- a/
Roo/bootstrap/PagingToolbar.js
+++ b/
Roo/bootstrap/PagingToolbar.js
@@
-21,6
+21,12
@@
Roo.bootstrap.PagingToolbar = function(config)
{
// old args format still supported... - xtype is prefered..
// created from xtype...
+ if (this.store) {
+ this.store= Roo.factory(this.store, Roo.data);
+ this.ds = this.store;
+ this.ds.xmodule = this.xmodule || false;
+ }
+
var ds = config.dataSource;
Roo.log(config);
this.toolbarItems = [];