Only XHR requests use the "inline" layout
This commit is contained in:
parent
6f9c187d47
commit
d939e12ef9
|
@ -372,7 +372,7 @@ class ActionController extends Zend_Controller_Action
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($isXhr || $this->getParam('view') === 'compact') {
|
if ($isXhr) {
|
||||||
$layout->setLayout('inline');
|
$layout->setLayout('inline');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue