rfe: Image Management (funded by Formation Design Systems)
This commit is contained in:
parent
5e7565d8df
commit
35f4f5c4fb
3 changed files with 14 additions and 1 deletions
|
|
@ -306,7 +306,11 @@ sub www_richEditViewThumbnail {
|
|||
$output .= '</div>';
|
||||
$output .= '<script type="text/javascript">';
|
||||
$output .= "//<![CDATA[\n";
|
||||
$output .= "\nvar src = '".$image->getFileUrl."';\n";
|
||||
if ( $session->config->get("richEditorsUseAssetUrls")) {
|
||||
$output .= "\nvar src = '".$image->getUrl."';\n";
|
||||
} else {
|
||||
$output .= "\nvar src = '".$image->getFileUrl."';\n";
|
||||
}
|
||||
$output .= "if(src.length > 0) {
|
||||
var manager=window.parent;
|
||||
if(manager)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue