From 73dc6c3c2772570e500a9ddba2cb15e2da0d9d30 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 20 Feb 2014 16:58:30 +0100 Subject: [PATCH] Render "inline" layout if the view parameter is set to "compact" --- library/Icinga/Web/Controller/ActionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index f539d4973..2a5ac5177 100755 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -260,7 +260,7 @@ class ActionController extends Zend_Controller_Action { Benchmark::measure('Action::postDispatch()'); - if ($this->_request->isXmlHttpRequest()) { + if ($this->_request->isXmlHttpRequest() || $this->getParam('view') === 'compact') { $this->_helper->layout()->setLayout('inline'); } if ($user = $this->_request->getUser()) {