renamed label
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@91946 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
79ce4485eb
commit
ff4a66d532
|
@ -1337,7 +1337,8 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
|||
//IF NOT CANCELLED
|
||||
String clickedButton = be.getButtonClicked().getItemId();
|
||||
if(clickedButton.equals(Dialog.YES)){
|
||||
|
||||
|
||||
explorerPanel.getAsycTreePanel().mask("Deleting");
|
||||
rpcWorkspaceService.removeItem(event.getFileTarget().getIdentifier(), new AsyncCallback<Boolean>(){
|
||||
|
||||
@Override
|
||||
|
@ -1350,7 +1351,7 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
|||
|
||||
@Override
|
||||
public void onSuccess(Boolean result) {
|
||||
|
||||
explorerPanel.getAsycTreePanel().unmask();
|
||||
//Timer is used as work around to chrome and safari browser
|
||||
Timer t = new Timer() {
|
||||
public void run() {
|
||||
|
|
|
@ -721,7 +721,7 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
|
|||
|
||||
} catch (InsufficientPrivilegesException e) {
|
||||
workspaceLogger.error("Error in server Item remove", e);
|
||||
String error = "An error occurred on deleting item. "+e.getMessage();
|
||||
String error = "Insufficient Privileges to remove the item";
|
||||
throw new Exception(error);
|
||||
|
||||
}catch (ItemNotFoundException e) {
|
||||
|
|
Loading…
Reference in New Issue