mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
58212: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 58182: Merged V4.1-BUG-FIX (4.1.8) to V4.2-BUG-FIX (4.2.1) 58177: Merged V3.4-BUG-FIX (3.4.14) to V4.1-BUG-FIX (4.1.8) 57174: Merged DEV to V3.4-BUG-FIX (3.4.14) 56813: MNT-9749: AVM - copy and pasted link in TinyMCE (xs:string) renders full url and not relative URL in Firefox - Remove current host:port from links. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -61,14 +61,11 @@ function alfresco_TinyMCE_urlconverter_callback(href, element, onsave)
|
||||
result = href;
|
||||
}
|
||||
|
||||
// handle URL issue with IE (WCM-1134)
|
||||
if (navigator.appName == "Microsoft Internet Explorer" || tinyMCE.isMSIE)
|
||||
// handle URL issues(see WCM-1134 and MNT-9749)
|
||||
var server = document.location.protocol + "//" + document.location.host;
|
||||
if (href.startsWith(server))
|
||||
{
|
||||
var server = document.location.protocol + "//" + document.location.host;
|
||||
if (href.startsWith(server))
|
||||
{
|
||||
result = href.substring(server.length);
|
||||
}
|
||||
result = href.substring(server.length);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user