mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ETHREEOH-2613: "Failed to execute method FilePickerBean.getFilePickerData: Exception in Transaction" when try to update local links with ajax WCM file picker.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17090 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -74,6 +74,12 @@ function alfresco_TinyMCE_urlconverter_callback(href, element, onsave)
|
||||
|
||||
function alfresco_TinyMCE_file_browser_callback(field_name, url, type, win)
|
||||
{
|
||||
// remove url prefix ready for picker
|
||||
if (url.startsWith(alfresco.constants.AVM_WEBAPP_URL))
|
||||
{
|
||||
url = url.replace(alfresco.constants.AVM_WEBAPP_URL, "");
|
||||
}
|
||||
|
||||
//tinyMCE.loadCSS doesn't seem to work with plugins so add css manually
|
||||
//tinyMCE.activeEditor.dom.loadCSS(alfresco.constants.WEBAPP_CONTEXT + "/css/xforms.css");
|
||||
var headEl = win.document.getElementsByTagName("head")[0];
|
||||
|
Reference in New Issue
Block a user