From 3fdadf5b66eeee6b7ddc5bf1324280d9294fc675 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 8 Oct 2013 15:55:49 +0100 Subject: [PATCH] SAAS-351 Only hide day checkboxes when show repeat type is 2 or 3 --- airtime_mvc/public/js/airtime/schedule/add-show.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 582c48566..28c753239 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -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(); }