updated workspace size

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@101282 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2014-10-31 11:32:11 +00:00
parent 7554afbb3f
commit 658bbc3f28
2 changed files with 6 additions and 2 deletions

View File

@ -1412,7 +1412,7 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
}
notifySubscriber(event);
doUpdateWorkspaceSize(new UpdateWorkspaceSizeEvent());
// doUpdateWorkspaceSize(new UpdateWorkspaceSizeEvent());
// eventBus.fireEvent(new UpdateWorkspaceSizeEvent());
}
};

View File

@ -2945,7 +2945,7 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
@Override
public TrashContent updateTrashContent(WorkspaceTrashOperation operation) throws Exception{
workspaceLogger.info("Upate TrashContent with operation: "+operation);
workspaceLogger.info("Updating TrashContent with operation: "+operation);
Workspace workspace;
List<String> listErrors = null;
@ -3037,6 +3037,7 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
listContentError.add(fakeFile);
}
}
String label = listTrashItemIds.size()>1?"items":"item";
if(!deleted)
throw new Exception("Sorry, an error occurred on deleting permanently the trash "+label+", try again");
@ -3070,6 +3071,9 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
break;
}
default:
break;
}
// trash = workspace.getTrash();