Introduce GET parameter _disableLayout to ... disable the entire layout
refs #8758
This commit is contained in:
parent
6d4d99aa62
commit
d192410435
|
@ -96,6 +96,9 @@ class ActionController extends Zend_Controller_Action
|
|||
if ($this->rerenderLayout = $request->getUrl()->shift('renderLayout')) {
|
||||
$this->xhrLayout = 'body';
|
||||
}
|
||||
if ($request->getUrl()->shift('_disableLayout')) {
|
||||
$this->_helper->layout()->disableLayout();
|
||||
}
|
||||
|
||||
if ($this->requiresLogin()) {
|
||||
$this->redirectToLogin(Url::fromRequest());
|
||||
|
|
Loading…
Reference in New Issue