X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fstatic%2Fwclib.js;h=29875abd6da57cae4909f1b850114b88e31fd296;hb=ff0768551267de3dad2f807ddc54aa487088f6ac;hp=aedf843e6c22d15d832382dd3398b3b4baa3850e;hpb=c684ab521431f0fb1ba1513e89e4b6678dd8bd9e;p=citadel.git diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js index aedf843e6..29875abd6 100644 --- a/webcit/static/wclib.js +++ b/webcit/static/wclib.js @@ -1051,4 +1051,16 @@ function RecurrenceShowHide() { } $('ymday').innerHTML = 'XXXX-' + $('dtstart').value.substr(5); + + if ($('rryeartype_ywday').checked) { + $('rrymweek').disabled = false; + $('rrymweekday').disabled = false; + $('rrymonth').disabled = false; + } + else { + $('rrymweek').disabled = true; + $('rrymweekday').disabled = true; + $('rrymonth').disabled = true; + } + }