mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
ObjectController: branch hint on create
This commit is contained in:
parent
2a5909917b
commit
39f53b6cee
@ -157,6 +157,10 @@ abstract class ObjectController extends ActionController
|
||||
} else {
|
||||
$this->addObject();
|
||||
}
|
||||
$branch = $this->getBranch();
|
||||
if ($branch->isBranch() && ! $this->getRequest()->isApiRequest()) {
|
||||
$this->content()->add(new BranchedObjectHint($branch, $this->Auth()));
|
||||
}
|
||||
|
||||
$form->handleRequest();
|
||||
$this->content()->add($form);
|
||||
|
Loading…
x
Reference in New Issue
Block a user