- Made the client side context path dynamically driven

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2006-12-11 16:43:42 +00:00
parent bedaafd781
commit 84ca33ed6f
4 changed files with 47 additions and 33 deletions

View File

@@ -2,6 +2,8 @@
// Supporting JavaScript for the NodeInfo component
// Gavin Cornwell 17-07-2006
//
// NOTE: This script relies on common.js so therefore needs to be loaded
// prior to this one on the containing HTML page.
var _launchElement = null;
var _popupElement = null;
@@ -18,7 +20,7 @@ function showNodeInfo(nodeRef, launchElement)
dojo.io.bind({
method: 'post',
url: WEBAPP_CONTEXT + '/ajax/invoke/NodeInfoBean.sendNodeInfo',
url: getContextPath() + '/ajax/invoke/NodeInfoBean.sendNodeInfo',
content: { noderef: nodeRef },
load: showNodeInfoHandler,
error: handleErrorDojo,