Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2021-12-17 21:47:07 +01:00
commit 3bdb215adf

View File

@ -603,8 +603,10 @@ $(document).ready( function() {
break;
default:
$txt = $this->callHook('additionalDocumentPreview', $latestContent);
if(is_string($txt))
if(is_string($txt)) {
$this->contentHeading(getMLText("preview"));
echo $txt;
}
break;
}
}