From: Art Cancro Date: Tue, 14 Oct 2008 21:39:00 +0000 (+0000) Subject: More recurrence editor stuff X-Git-Tag: v7.86~1853 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=88c4f38d0bc6764591946ab0f1037ea3cbd8ecf7;hp=6af1c7c07d9fbc43a5800ddaed3b36d51f36b916;p=citadel.git More recurrence editor stuff --- diff --git a/webcit/event.c b/webcit/event.c index 55e4cc98a..6c82bf611 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -504,8 +504,10 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, wprintf("\n"); /* end 'weekday_selector' div */ - int which_rrmonthtype_is_preselected = 0; /* FIXME set default correctly */ + + + int which_rrmonthtype_is_preselected = 0; wprintf("
"); /* begin 'monthday_selector' div */ wprintf(""); /* begin 'yearday_selector' div */ + + wprintf("(X) every (99) (Octobuary)
"); /* FIXME */ + wprintf("(X) on the (Grelfth) (Funday) of (Octobuary)
"); /* FIXME */ + + wprintf("
\n"); /* end 'yearday_selector' div */ + + + wprintf("\n"); diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js index c5a446e13..6fc8f455f 100644 --- a/webcit/static/wclib.js +++ b/webcit/static/wclib.js @@ -1043,4 +1043,11 @@ function RecurrenceShowHide() { $('rrmweekday').disabled = true; } + if ($('freq_selector').selectedIndex == 6) { + $('yearday_selector').style.display = 'block'; + } + else { + $('yearday_selector').style.display = 'none'; + } + }