mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-19 20:04:24 +02:00
No output support for command forms. Doesn't fit all forms, more to come
This commit is contained in:
parent
71aea4dfc7
commit
2b19ba51a6
@ -116,15 +116,13 @@ class Monitoring_CommandController extends ActionController
|
||||
if ($this->form->isSubmittedAndValid()) {
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
$this->_helper->layout()->disableLayout();
|
||||
|
||||
$this->ignoreXhrBody();
|
||||
if ($this->_request->getHeader('referer') && ! $this->getRequest()->isXmlHttpRequest()) {
|
||||
$this->redirect($this->_request->getHeader('referer'));
|
||||
}
|
||||
|
||||
return;
|
||||
} else {
|
||||
$this->view->form = $this->form;
|
||||
}
|
||||
|
||||
$this->view->form = $this->form;
|
||||
}
|
||||
parent::postDispatch();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user