commit ef4a32eca23dfdb2e2f6ab991a216e2ffcae797c
parent 68afc9e36881e5acd8a2fa092a4449d7e96bf066
Author: Jan Dankert <devnull@localhost>
Date: Thu, 16 Aug 2018 22:45:05 +0200
Fix: Seitenvorschau direkt ausgeben.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/cms-core/action/PageAction.class.php b/modules/cms-core/action/PageAction.class.php
@@ -632,7 +632,7 @@ class PageAction extends ObjectAction
*/
function previewView()
{
- $this->setTemplateVar('preview_url',Html::url('page','show',$this->page->objectid,array(REQ_PARAM_LANGUAGE_ID=>$this->page->languageid,REQ_PARAM_MODEL_ID=>$this->page->modelid) ) );
+ $this->setTemplateVar('preview_url',Html::url('page','show',$this->page->objectid,array(REQ_PARAM_LANGUAGE_ID=>$this->page->languageid,REQ_PARAM_MODEL_ID=>$this->page->modelid,REQ_PARAM_EMBED=>'1') ) );
}
/**