mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +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()
|
||||
{
|
||||
$this->setAutorefreshInterval(10);
|
||||
if ($this->getRequest()->isGet()) {
|
||||
$this->setAutorefreshInterval(10);
|
||||
}
|
||||
|
||||
$this->getTabs()->add('overview', array(
|
||||
'url' => $this->getRequest()->getUrl(),
|
||||
'label' => $this->translate('Overview')
|
||||
|
Loading…
x
Reference in New Issue
Block a user