diff --git a/airtime_mvc/application/services/ShowFormService.php b/airtime_mvc/application/services/ShowFormService.php index e9cb8c5ea..a82279a56 100644 --- a/airtime_mvc/application/services/ShowFormService.php +++ b/airtime_mvc/application/services/ShowFormService.php @@ -216,7 +216,7 @@ class Application_Service_ShowFormService 'add_show_no_end' => (!$service_show->getRepeatingEndDate()), 'add_show_monthly_repeat_type' => $monthlyRepeatType)); - if (!$this->ccShow->isLinkable()) { + if (!$this->ccShow->isLinkable() || $this->ccShow->isRecorded()) { $form->getElement('add_show_linked')->setOptions(array('disabled' => true)); } } diff --git a/airtime_mvc/public/js/airtime/schedule/add-show.js b/airtime_mvc/public/js/airtime/schedule/add-show.js index 7f0d0e29f..2e8fd7454 100644 --- a/airtime_mvc/public/js/airtime/schedule/add-show.js +++ b/airtime_mvc/public/js/airtime/schedule/add-show.js @@ -191,6 +191,12 @@ function setAddShowEvents() { $(this).blur(); form.find("#add_show_rebroadcast").toggle(); + if (form.find("#add_show_record").attr("checked")) { + form.find("#add_show_linked").attr("checked", false).attr("disabled", true); + } else { + form.find("#add_show_linked").attr("disabled", false); + } + //uncheck rebroadcast checkbox form.find("#add_show_rebroadcast").attr('checked', false);