ActionController: Use a controller's inner layout script instead of "body"
"body" is still the default inner layout script.
This commit is contained in:
parent
5a14a3c4ea
commit
53f29131af
|
@ -118,7 +118,7 @@ class ActionController extends Zend_Controller_Action
|
||||||
$this->view->compact = true;
|
$this->view->compact = true;
|
||||||
}
|
}
|
||||||
if ($this->rerenderLayout = $request->getUrl()->shift('renderLayout')) {
|
if ($this->rerenderLayout = $request->getUrl()->shift('renderLayout')) {
|
||||||
$this->xhrLayout = 'body';
|
$this->xhrLayout = $this->innerLayout;
|
||||||
}
|
}
|
||||||
if ($request->getUrl()->shift('_disableLayout')) {
|
if ($request->getUrl()->shift('_disableLayout')) {
|
||||||
$this->_helper->layout()->disableLayout();
|
$this->_helper->layout()->disableLayout();
|
||||||
|
|
Loading…
Reference in New Issue