Fixups to portlet webscripts that hardcore the '/service' part of webscript urls to use ${url.serviceContext} and push down into appropriate javascripts

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5883 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-06-07 14:29:14 +00:00
parent c53842aa33
commit 9aa5b881c7
5 changed files with 7 additions and 5 deletions

View File

@@ -2,6 +2,7 @@ var MyTasks = {
ANIM_LENGTH: 300,
DETAIL_PANEL_HEIGHT: 132,
Filter: null,
ServiceContext: null,
start: function()
{
@@ -11,7 +12,7 @@ var MyTasks = {
// is responsible for rendering just the contents of the main panel div
YAHOO.util.Connect.asyncRequest(
"GET",
getContextPath() + '/service/mytaskspanel?f='+MyTasks.Filter,
MyTasks.ServiceContext + '/mytaskspanel?f='+MyTasks.Filter,
{
success: function(response)
{