mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
MyTasks portlet improvements and fixes:
- Inner panel of MyTasks portlet now a separate webscript called 'mytaskspanel' and an ajax request is used to refresh or update the panel after an action occurs. - Generated task actions fixed to use ajax refresh rather than full window refresh (fixes issue with MyTasks portlet actions being used in JSF-168 or JSF runtime) - Generated task actions fixed to handle default (null) transition ID Permission checking added to MySpaces portlet actions. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,7 +19,7 @@ var MySpaces = {
|
||||
// is responsible for rendering just the contents of the main panel div
|
||||
YAHOO.util.Connect.asyncRequest(
|
||||
"GET",
|
||||
getContextPath() + '/service/myspacespanel?p='+MySpaces.Path+'&f='+MySpaces.Filter+'&h='+MySpaces.Home, //+'&_='+(Math.random())
|
||||
getContextPath() + '/service/myspacespanel?p='+MySpaces.Path+'&f='+MySpaces.Filter+'&h='+MySpaces.Home,
|
||||
{
|
||||
success: function(response)
|
||||
{
|
||||
@@ -32,7 +32,7 @@ var MySpaces = {
|
||||
},
|
||||
failure: function(response)
|
||||
{
|
||||
$('spacePanel').setHTML("Sorry, list data currently unavailable.");
|
||||
$('spacePanel').setHTML("Sorry, data currently unavailable.");
|
||||
}
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user