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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue