CC-5598: Deleting an edited, repeated instance deletes the entire show
Fixed by setting the correct url action
This commit is contained in:
parent
320cecd339
commit
ab435ce3ec
|
@ -184,6 +184,11 @@ class Application_Service_CalendarService
|
||||||
"name"=> _("Delete This Instance and All Following"),
|
"name"=> _("Delete This Instance and All Following"),
|
||||||
"icon" => "delete",
|
"icon" => "delete",
|
||||||
"url" => $baseUrl."schedule/delete-show");
|
"url" => $baseUrl."schedule/delete-show");
|
||||||
|
} elseif ($populateInstance) {
|
||||||
|
$menu["del"] = array(
|
||||||
|
"name"=> _("Delete"),
|
||||||
|
"icon" => "delete",
|
||||||
|
"url" => $baseUrl."schedule/delete-show-instance");
|
||||||
} else {
|
} else {
|
||||||
$menu["del"] = array(
|
$menu["del"] = array(
|
||||||
"name"=> _("Delete"),
|
"name"=> _("Delete"),
|
||||||
|
|
Loading…
Reference in New Issue