Mercurial > hg > digilib
changeset 443:e6f7e0628a47
fixed problem with next/prev page button in oldskin
(basically my bad for not properly adapting the new dllib.js)
author | robcast |
---|---|
date | Mon, 16 Jan 2006 20:36:29 +0100 |
parents | 41e941cfd1e3 |
children | cb1ffdff2333 |
files | client/digitallibrary/dllib.js |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/client/digitallibrary/dllib.js Mon Jan 16 20:36:29 2006 +0100 +++ b/client/digitallibrary/dllib.js Mon Jan 16 20:36:29 2006 +0100 @@ -566,7 +566,9 @@ function gotoPage(gopage, keep) { // goto given page nr (+/-: relative) var oldpn = parseInt(getParameter("pn")); + // try setParameter with relative value setParameter("pn", gopage, true); + // check the result var pn = parseInt(getParameter("pn")); if (pn < 1) { alert("No such page! (Page number too low)");