mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 18:59:05 +02:00
IndexController: do not refresh when POSTed
This commit is contained in:
parent
c7578bd7ef
commit
bb8d4f18dd
@ -9,7 +9,10 @@ class IndexController extends ActionController
|
|||||||
{
|
{
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
|
if ($this->getRequest()->isGet()) {
|
||||||
$this->setAutorefreshInterval(10);
|
$this->setAutorefreshInterval(10);
|
||||||
|
}
|
||||||
|
|
||||||
$this->getTabs()->add('overview', array(
|
$this->getTabs()->add('overview', array(
|
||||||
'url' => $this->getRequest()->getUrl(),
|
'url' => $this->getRequest()->getUrl(),
|
||||||
'label' => $this->translate('Overview')
|
'label' => $this->translate('Overview')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user