changeset 322:ccddc9a5b63b

fixed small problem with page numbers for slow loading pages
author robcast
date Tue, 02 Nov 2004 10:46:54 +0100
parents 88f986c79478
children c70a5016fdc5
files client/digitallibrary/oldskin/pageWin.html
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/oldskin/pageWin.html	Mon Nov 01 18:42:29 2004 +0100
+++ b/client/digitallibrary/oldskin/pageWin.html	Tue Nov 02 10:46:54 2004 +0100
@@ -6,6 +6,9 @@
 if ((parent.mainFrame.getParameter)&&(parent.mainFrame.getParameter("pn"))) {
     pt = parent.mainFrame.getParameter("pt");
     pn = parent.mainFrame.getParameter("pn");
+} else {
+    // if the mainFrame is not ready then wait
+    setTimeout("show()", 500);
 }
 
 function show() {