X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar_view.c;h=5f7de0d9e8d5d61263c432db2cdf956923c2c26f;hb=13473e686921141b9334a90ab17f8d452ea95a74;hp=a60697a623d896eac465bd67341a314ce82ac944;hpb=28700156e64b2518520bb12efe416168f2c84c3d;p=citadel.git
diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c
index a60697a62..5f7de0d9e 100644
--- a/webcit/calendar_view.c
+++ b/webcit/calendar_view.c
@@ -274,14 +274,19 @@ void calendar_month_view_display_events(int year, int month, int day)
);
}
+
wc_printf(""
""
+ ,
(Cal->unread)?"_unread":"_read",
Cal->cal_msgnum,
year, month, day
- );
+ );
+
+ escputs((char *) icalproperty_get_comment(p));
+
+ wc_printf("");
wc_printf("%s: %s
", _("From"), Cal->from);
wc_printf("%s ", _("Summary:"));
@@ -377,9 +382,7 @@ void calendar_month_view_display_events(int year, int month, int day)
wc_printf("
");
}
- wc_printf("\">");
- escputs((char *)
- icalproperty_get_comment(p));
+ wc_printf("");
wc_printf("
\n");
if (all_day_event) {
@@ -663,21 +666,6 @@ void calendar_month_view(int year, int month, int day) {
wc_printf("" /* end of inner table */
"" /* end of outer table */
"\n");
-
- /*
- * Initialize the bubble tooltips.
- *
- * Yes, this is as stupid as it looks. Instead of just making the call
- * to btt_enableTooltips() straight away, we have to create a timer event
- * and let it initialize as an event after 1 millisecond. This is to
- * work around a bug in Internet Explorer that causes it to crash if we
- * manipulate the innerHTML of various DOM nodes while the page is still
- * being rendered. See http://www.shaftek.org/blog/archives/000212.html
- * for more information.
- */
- StrBufAppendPrintf(WC->trailing_javascript,
- " setTimeout(\"btt_enableTooltips('inner_month')\", 1); \n"
- );
}
/*
@@ -959,10 +947,13 @@ void calendar_day_view_display_events(time_t thetime,
wc_printf("