ActionController: Use a controller's inner layout script instead of "body"

"body" is still the default inner layout script.
This commit is contained in:
Johannes Meyer 2015-10-02 10:18:26 +02:00
parent 5a14a3c4ea
commit 53f29131af
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class ActionController extends Zend_Controller_Action
$this->view->compact = true;
}
if ($this->rerenderLayout = $request->getUrl()->shift('renderLayout')) {
$this->xhrLayout = 'body';
$this->xhrLayout = $this->innerLayout;
}
if ($request->getUrl()->shift('_disableLayout')) {
$this->_helper->layout()->disableLayout();