From 88c4f38d0bc6764591946ab0f1037ea3cbd8ecf7 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 14 Oct 2008 21:39:00 +0000 Subject: [PATCH] More recurrence editor stuff --- webcit/event.c | 14 +++++++++++++- webcit/static/wclib.js | 7 +++++++ 2 files changed, 20 insertions(+), 1 deletion(-) 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'; + } + } -- 2.30.2