SAAS-351 Only hide day checkboxes when show repeat type is 2 or 3

This commit is contained in:
Daniel James 2013-10-08 15:55:49 +01:00
parent 7c2e92f6e5
commit 3fdadf5b66

View file

@ -263,7 +263,7 @@ function setAddShowEvents() {
toggleMonthlyRepeatType();
toggleRepeatDays();
function toggleRepeatDays() {
if(form.find("#add_show_repeat_type").val() >= 2) {
if(form.find("#add_show_repeat_type").val() == 2) || form.find("#add_show_repeat_type").val() == 3) {
form.find("#add_show_day_check-label, #add_show_day_check-element").hide();
//form.find("#add_show_monthly_repeat_type-label, #add_show_monthly_repeat_type-element").show();
}