Mercurial > hg > digilib-old
changeset 447:92e49afaea90
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 | 323e7d7dc378 |
children | e96757237406 |
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)");