# HG changeset patch # User robcast # Date 1137440189 -3600 # Node ID 92e49afaea90770866b3a320e39c846c1213600d # Parent 323e7d7dc3784e49de3b260693334dcbe339d3b4 fixed problem with next/prev page button in oldskin (basically my bad for not properly adapting the new dllib.js) diff -r 323e7d7dc378 -r 92e49afaea90 client/digitallibrary/dllib.js --- 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)");