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