CC-3193: context menu "Delete This Instance and All Following" doesn't make sense when appearing on a non-repeating show
Show the menu item when the show is rebroadcasting.
This commit is contained in:
parent
7542d86b94
commit
b42d217684
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class ScheduleController extends Zend_Controller_Action
|
|||
'callback' => 'window["beginEditShow"]'), 'title' => 'Edit Show');
|
||||
$menu[] = array('action' => array('type' => 'ajax', 'url' => '/Schedule/delete-show'.$params,
|
||||
'callback' => 'window["scheduleRefetchEvents"]'), 'title' => 'Delete This Instance');
|
||||
if ($show->getShow()->isRepeating()) {
|
||||
if ($show->getShow()->isRepeating() || $show->getShow()->isRebroadcast()) {
|
||||
$menu[] = array('action' => array('type' => 'ajax', 'url' => '/Schedule/cancel-show'.$params,
|
||||
'callback' => 'window["scheduleRefetchEvents"]'), 'title' => 'Delete This Instance and All Following');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue