projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3720ea
)
Roo/bootstrap/Pagination.js
author
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 07:06:01 +0000
(15:06 +0800)
committer
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 07:06:01 +0000
(15:06 +0800)
Roo/bootstrap/Pagination.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Pagination.js
b/Roo/bootstrap/Pagination.js
index
5d4333c
..
7105928
100644
(file)
--- a/
Roo/bootstrap/Pagination.js
+++ b/
Roo/bootstrap/Pagination.js
@@
-56,9
+56,9
@@
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;
- for (var i=
i;i<=j
;i++) {
+ var
from
=this.from>0?this.from:1;
+ var
to
=this.to-i<=10?this.to:i+10;
+ for (var i=
from;i<=to
;i++) {
cfg.cn.push(
{
tag: 'li',