39e94a2d59c2595ad39c39488204f9bcfac72e7a galt Thu Aug 14 09:49:05 2014 -0700 oops, htmlWarnBoxSetUpAlready has been declared above so I could reset it in genomeSpace when outputting multiple pages during progress updates. Looks like this line should have been removed, but somehow survived the merge. diff --git src/lib/htmshell.c src/lib/htmshell.c index 95232ce..8d5a5c6 100644 --- src/lib/htmshell.c +++ src/lib/htmshell.c @@ -228,31 +228,30 @@ { return "<!-- HGERROR-START -->\n"; } char *htmlWarnEndPattern() /* Return ending pattern for warning message. */ { return "<!-- HGERROR-END -->\n"; } void htmlWarnBoxSetup(FILE *f) /* Creates an invisible, empty warning box than can be filled with errors * and then made visible. */ { // Only set this up once per page -static boolean htmlWarnBoxSetUpAlready=FALSE; if (htmlWarnBoxSetUpAlready) return; htmlWarnBoxSetUpAlready=TRUE; // NOTE: Making both IE and FF work is almost impossible. Currently, in IE, if the message // is forced to the top (calling this routine after <BODY> then the box is not resizable // (dynamically adjusting to its contents). But if this setup is done later in the page // (at first warning), then IE does resize it. Why? // FF3.0 (but not FF2.0) was resizable with the following, but it took some experimentation. // Remember what worked nicely on FF3.0: // "var app=navigator.appName.substr(0,9); " // "if(app == 'Microsoft') {warnBox.style.display='';} // else {warnBox.style.display=''; warnBox.style.width='auto';}" fprintf(f, "<script type='text/javascript'>\n"); fprintf(f, "document.write(\"<center>"