mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-05-05 07:10:13 +02:00
Render "inline" layout if the view parameter is set to "compact"
This commit is contained in:
parent
db82c93c7e
commit
73dc6c3c27
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user