mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Doclist Webscript - main document list now separate ajax panel. New PortletActionsBean to perform server-side actions from portlets. DeleteItem moved out of MySpacesBean into PortletActionsBean. TemplateNode addition of downloadUrl method for non-inline document downloads.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -17,6 +17,9 @@ var MySpaces = {
|
||||
{
|
||||
if ($('spacePanel'))
|
||||
{
|
||||
// show AJAX loading overlay
|
||||
$('spacePanelOverlay').setStyle('visibility', 'visible');
|
||||
$('spacePanel').setStyle('visibility', 'hidden');
|
||||
// fire off the ajax request to populate the spaces list - the 'myspacespanel' webscript
|
||||
// is responsible for rendering just the contents of the main panel div
|
||||
YAHOO.util.Connect.asyncRequest(
|
||||
@@ -613,10 +616,10 @@ var MySpaces = {
|
||||
{
|
||||
if (confirm("Are you sure you want to delete: " + name))
|
||||
{
|
||||
// ajax call to create space
|
||||
// ajax call to delete item
|
||||
YAHOO.util.Connect.asyncRequest(
|
||||
"POST",
|
||||
getContextPath() + '/ajax/invoke/MySpacesBean.deleteItem',
|
||||
getContextPath() + '/ajax/invoke/PortletActionsBean.deleteItem',
|
||||
{
|
||||
success: function(response)
|
||||
{
|
||||
|
Reference in New Issue
Block a user