From 547b08dec39208c61367cfd2c43d93dc044563fb Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 7 Feb 2009 05:04:11 +0000 Subject: [PATCH] * Moved the call to hide_imsg_popup() to the trailing_javascript block, but I think I ended up modifying dead code. --- webcit/webcit.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webcit/webcit.c b/webcit/webcit.c index 3904d0431..e8a295814 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -168,9 +168,10 @@ void output_headers( int do_httpheaders, /* 1 = output HTTP headers escputs(WC->ImportantMessage); wprintf("
\n" "\n" - "\n"); + ); + StrBufAppendPrintf(WC->trailing_javascript, + "setTimeout('hide_imsg_popup()', 5000); \n" + ); WC->ImportantMessage[0] = 0; } -- 2.39.2