IndexController: do not refresh when POSTed

This commit is contained in:
Thomas Gelf 2016-03-21 09:10:09 +01:00
parent c7578bd7ef
commit bb8d4f18dd
1 changed files with 4 additions and 1 deletions

View File

@ -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')