CC-5093: Please disable link option for recording show

This commit is contained in:
denise 2013-05-08 15:08:56 -04:00
parent 9dbec4636a
commit fe88e6249a
2 changed files with 7 additions and 1 deletions

View file

@ -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));
}
}