Handle ajax embeds for message renderer
authorArt Cancro <ajc@citadel.org>
Thu, 3 Dec 2009 23:00:40 +0000 (23:00 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 3 Dec 2009 23:00:40 +0000 (23:00 +0000)
webcit/messages.c

index cd10b6a74091279cb7f603d78e7ad9b4f601b2ae..6ef159c46ca09b70b553e4f01d83aff7535be047 100644 (file)
@@ -773,6 +773,10 @@ void readloop(long oper)
                WCC->wc_view = VIEW_MAILBOX;
        }
 
+       if (havebstr("is_ajax") && (1 == (ibstr("is_ajax")))) {
+               WCC->is_ajax = 1;
+       }
+
        if ((oper == do_search) && (WCC->wc_view == VIEW_WIKI)) {
                display_wiki_pagelist();
                return;