]> code.citadel.org Git - citadel.git/blobdiff - webcit/event.c
Finished the trailing_javascript API and moved a few things to it
[citadel.git] / webcit / event.c
index 3bf04f86164160a29c5d25efcff91c571d631c12..54cf9e1cc89cc9fa4a336a407510d4ba268c5624 100644 (file)
@@ -562,10 +562,9 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
 
        wprintf("</div>\n");
 
-       wprintf("<script type=\"text/javascript\">      \n"
+       StrBufAppendPrintf(WC->trailing_javascript,
                "eventEditAllDay();     \n"
                "RecurrenceShowHide();  \n"
-               "</script>      \n"
        );
        address_book_popup();
        wDumpContent(1);