diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index 0b65cb8dd..f5fded73d 100644 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -447,7 +447,9 @@ class ActionController extends Zend_Controller_Action public function preDispatch() { $form = new AutoRefreshForm(); - $form->handleRequest(); + if (! $this->getRequest()->isApiRequest()) { + $form->handleRequest(); + } $this->_helper->layout()->autoRefreshForm = $form; }