projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc6fff
)
Fix off-by-one error
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 3 Aug 2009 17:35:37 +0000
(11:35 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 3 Aug 2009 17:57:07 +0000
(11:57 -0600)
imp/js/ViewPort.js
patch
|
blob
|
history
diff --git
a/imp/js/ViewPort.js
b/imp/js/ViewPort.js
index
9efa247
..
28a6e69
100644
(file)
--- a/
imp/js/ViewPort.js
+++ b/
imp/js/ViewPort.js
@@
-224,7
+224,7
@@
var ViewPort = Class.create({
break;
case 1:
- s.moveScroll(Math.min(rownum
, this.getMetaData('total_rows') - this.getPageSize() + 1
));
+ s.moveScroll(Math.min(rownum
- 1, this.getMetaData('total_rows') - this.getPageSize()
));
break;
}