CC-5093: Please disable link option for recording show
This commit is contained in:
parent
9dbec4636a
commit
fe88e6249a
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue