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…
Reference in New Issue