]> code.citadel.org Git - citadel.git/blobdiff - webcit/event.c
* Calendar events in the summary view are now clickable.
[citadel.git] / webcit / event.c
index 9b05425bb8c4452e23e60128582b52206c85af70..fbc2614a39d745e17ad831146d5a3a97e2059393 100644 (file)
@@ -1145,8 +1145,13 @@ STARTOVER:       for (attendee = icalcomponent_get_first_property(vevent, ICAL_ATTENDE
                icalcomponent_free(vevent);
        }
 
-       /* If this was a save or delete, go back to the calendar view. */
+       /* If this was a save or delete, go back to the calendar or summary view. */
        if (!havebstr("check_button")) {
-               readloop(readfwd);
+               if (!strcasecmp(bstr("calview"), "summary")) {
+                       summary();
+               }
+               else {
+                       readloop(readfwd);
+               }
        }
 }