Fixed Tree in portals

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2007-01-24 16:10:36 +00:00
parent 55f7d1e4ef
commit 34cce408cc
4 changed files with 63 additions and 14 deletions

View File

@@ -32,6 +32,15 @@ function handleErrorYahoo(msg)
alert(msg);
}
/**
* Sets the context path to use, useful for portals where
* the URL can be different from the app's context path.
*/
function setContextPath(contextPath)
{
_alfContextPath = contextPath;
}
/**
* Calculates and returns the context path for the current page
*/