Merge branch '2.5.x' into cc-5594-date_default
This commit is contained in:
commit
b1842fff34
1 changed files with 6 additions and 1 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"),
|
||||||
|
@ -233,7 +238,7 @@ class Application_Service_CalendarService
|
||||||
throw new Exception(_("Permission denied"));
|
throw new Exception(_("Permission denied"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->ccShow->getFirstCcShowDay()->isRepeating()) {
|
if ($this->ccShow->isRepeating()) {
|
||||||
throw new Exception(_("Can't drag and drop repeating shows"));
|
throw new Exception(_("Can't drag and drop repeating shows"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue