aaaaaaaaaaaaaaaaaaaaaagggggggh internet explorer sucks
authorArt Cancro <ajc@citadel.org>
Wed, 1 Oct 2008 04:48:47 +0000 (04:48 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 1 Oct 2008 04:48:47 +0000 (04:48 +0000)
webcit/event.c
webcit/static/wclib.js

index 8b6f82c111937e3d4da4cdba5221320727c5c12c..3bf04f86164160a29c5d25efcff91c571d631c12 100644 (file)
@@ -419,8 +419,7 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
                _("This is a recurring event")
        );
 
-#if 0
-       wprintf("<div id=\"rrule\">\n");                /* begin 'rrule' div */
+       wprintf("<div id=\"rrule_div\">\n");            /* begin 'rrule_div' div */
 
        wprintf("<table border=0 width=100%%>\n");      /* same table style as the event tab */
 
@@ -444,15 +443,10 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
                _("never")
        };
 
-
-
-
        wprintf("<tr><td><b>");
        wprintf(_("Recurrence rule"));
        wprintf("</b></td><td>");
 
-
-
        if ((recur.freq < 0) || (recur.freq > 6)) recur.freq = 4;
        wprintf("%s ", _("Repeats every"));
 
@@ -471,8 +465,6 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
        }
        wprintf("</select>\n");
 
-       wprintf("</td></tr><tr><td>FIXME</td><td>");
-
        wprintf("<div id=\"weekday_selector\">");       /* begin 'weekday_selector' div */
        wprintf("%s<br>", _("on these weekdays:"));
 
@@ -543,12 +535,8 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
 
        wprintf("</td></tr>\n");
 
-
-
-
        wprintf("</table>\n");
        wprintf("</div>\n");                            /* end 'rrule' div */
-#endif
 
        end_tab(2, 3);
 
index c66ec13f078a9e819e01675bf08144ebdfb77ae7..bccc22debc77430a3d66d0d859b0c836e5dde8a9 100644 (file)
@@ -993,10 +993,10 @@ function eventEditAllDay() {
 function RecurrenceShowHide() {
 
        if ($('is_recur').checked) {
-               $('rrule').style.display = 'block';
+               $('rrule_div').style.display = 'block';
        }
        else {
-               $('rrule').style.display = 'none';
+               $('rrule_div').style.display = 'none';
        }
 
        if ($('freq_selector').selectedIndex == 4) {
@@ -1019,4 +1019,5 @@ function RecurrenceShowHide() {
        else {
                $('rruntil').disabled = true;
        }
+
 }