From cb549e62779e6f741880a061dbd268f0b4abb937 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 6 Jan 2009 19:42:16 +0000 Subject: [PATCH] * Iconbar embedded wholist javascript moved to 'trailing javascript' section of the page --- webcit/iconbar.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/webcit/iconbar.c b/webcit/iconbar.c index 0cc9ceddc..ee8564890 100644 --- a/webcit/iconbar.c +++ b/webcit/iconbar.c @@ -367,11 +367,10 @@ void do_iconbar(void) { wprintf("\n"); if (IconbarIsEnabled("ib_users", 0)) { - wprintf( - " \n" - ); + StrBufAppendPrintf(WC->trailing_javascript, + "new Ajax.PeriodicalUpdater('wholist', 'do_template?template=wholist_section', " + "{ method: 'get', frequency: 30 } ); \n" + ); } } -- 2.39.2