From: Art Cancro Date: Tue, 20 Mar 2012 00:22:16 +0000 (-0400) Subject: ajax-only behavior for the wholist as well. X-Git-Tag: v8.11~127^2~10 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=305f1d32074290821acd6ead99f3be7568c0304d;p=citadel.git ajax-only behavior for the wholist as well. --- diff --git a/webcit/static/t/summary/page.html b/webcit/static/t/summary/page.html index afe80323d..089cdfb27 100644 --- a/webcit/static/t/summary/page.html +++ b/webcit/static/t/summary/page.html @@ -50,7 +50,9 @@
-
+
+ +
@@ -76,5 +78,5 @@ new Ajax.PeriodicalUpdater('msg_inner', 'new_messages_html', { method: 'get', frequency: 60 } ); new Ajax.PeriodicalUpdater('tasks_inner', 'tasks_inner_html', { method: 'get', frequency: 120 } ); new Ajax.PeriodicalUpdater('calendar_inner', 'calendar_inner_html', { method: 'get', frequency: 90 } ); - new Ajax.PeriodicalUpdater('do_template', 'template=who_summary', { method: 'get', frequency: 30 } ); + new Ajax.PeriodicalUpdater('who_inner', 'do_template?template=who_summary', { method: 'get', frequency: 30 } ); diff --git a/webcit/summary.c b/webcit/summary.c index 904f1db26..d2eeb2e07 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -214,11 +214,9 @@ InitModule_SUMMARY (void) { RegisterNamespace("TIME:NOW", 0, 0, tmplput_output_date, NULL, CTX_NONE); - WebcitAddUrlHandler(HKEY("summary"), "", 0, display_summary_page, ANONYMOUS); WebcitAddUrlHandler(HKEY("new_messages_html"), "", 0, new_messages_section, AJAX); WebcitAddUrlHandler(HKEY("tasks_inner_html"), "", 0, tasks_section, AJAX); WebcitAddUrlHandler(HKEY("calendar_inner_html"), "", 0, calendar_section, AJAX); - }