mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Filemanager/CKEditor: correctly encoding selected files, causing eg. images to not show
This commit is contained in:
parent
e341235779
commit
55a84f8fee
@ -196,7 +196,7 @@ class filemanager_select
|
||||
if ($download_url[0] == '/') $download_url = Egw::link($download_url);
|
||||
$js = "window.opener.CKEDITOR.tools.callFunction(".
|
||||
$content['ckeditorfuncnum'].",'".
|
||||
htmlspecialchars($download_url)."',".
|
||||
str_replace("'", "\\'", $download_url)."',".
|
||||
"'');\negw(window).close();";
|
||||
}
|
||||
if(Api\Json\Response::isJSONResponse() && !($content['method'] == 'ckeditor_return'))
|
||||
|
Loading…
Reference in New Issue
Block a user