CC-5598: Deleting an edited, repeated instance deletes the entire show

Fixed by setting the correct url action
This commit is contained in:
drigato 2013-12-04 14:50:22 -05:00
parent 320cecd339
commit ab435ce3ec
1 changed files with 5 additions and 0 deletions

View File

@ -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"),