mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +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 {
|
} else {
|
||||||
$this->addObject();
|
$this->addObject();
|
||||||
}
|
}
|
||||||
|
$branch = $this->getBranch();
|
||||||
|
if ($branch->isBranch() && ! $this->getRequest()->isApiRequest()) {
|
||||||
|
$this->content()->add(new BranchedObjectHint($branch, $this->Auth()));
|
||||||
|
}
|
||||||
|
|
||||||
$form->handleRequest();
|
$form->handleRequest();
|
||||||
$this->content()->add($form);
|
$this->content()->add($form);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user