mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
91480: Correction for 5.0 specific merge of MNT-12824 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -537,7 +537,7 @@ function splitQNamePath(node, rootNodeDisplayPath, rootNodeQNamePath, qnameOnly)
|
|||||||
{
|
{
|
||||||
// Decode the Site ID from the qname path using the util method - as we may not have displayPath
|
// Decode the Site ID from the qname path using the util method - as we may not have displayPath
|
||||||
// the displayPath will look something like this: ["", "Company Home", "Sites", "MySite", "documentLibrary", "MyFolder"]
|
// the displayPath will look something like this: ["", "Company Home", "Sites", "MySite", "documentLibrary", "MyFolder"]
|
||||||
var siteQName = Packages.org.alfresco.util.ISO9075.decode(qpathUnderSitesFolder.substring(positionContainer));
|
var siteQName = Packages.org.alfresco.util.ISO9075.decode(qpathUnderSitesFolder.substring(0, positionContainer));
|
||||||
siteId = siteQName.substring(siteQName.indexOf(":") + 1);
|
siteId = siteQName.substring(siteQName.indexOf(":") + 1);
|
||||||
var qpathContainer = qpathUnderSitesFolder.substring(positionContainer + 1);
|
var qpathContainer = qpathUnderSitesFolder.substring(positionContainer + 1);
|
||||||
var positionUnderContainer = qpathContainer.indexOf("/");
|
var positionUnderContainer = qpathContainer.indexOf("/");
|
||||||
|
Reference in New Issue
Block a user