projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d717f0
)
Roo/bootstrap/Pagination.js
author
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 07:04:15 +0000
(15:04 +0800)
committer
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 07:04:15 +0000
(15:04 +0800)
Roo/bootstrap/Pagination.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Pagination.js
b/Roo/bootstrap/Pagination.js
index
19ba74a
..
40c96fc
100644
(file)
--- a/
Roo/bootstrap/Pagination.js
+++ b/
Roo/bootstrap/Pagination.js
@@
-56,6
+56,8
@@
Roo.extend(Roo.bootstrap.Pagination, Roo.bootstrap.Component, {
}
]
}
+ var i=this.from>0?this.from:1;
+ var j=this.to-i<=10?this.to:i+10;
cfg.cn.push(
{