Only XHR requests use the "inline" layout

This commit is contained in:
Thomas Gelf 2014-04-17 17:03:35 +00:00
parent 6f9c187d47
commit d939e12ef9
1 changed files with 1 additions and 1 deletions

View File

@ -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');
} }