diff --git a/src/main/java/org/gcube/portlets/user/gcubeloggedin/client/ui/AboutView.java b/src/main/java/org/gcube/portlets/user/gcubeloggedin/client/ui/AboutView.java index 12a1090..4a470df 100644 --- a/src/main/java/org/gcube/portlets/user/gcubeloggedin/client/ui/AboutView.java +++ b/src/main/java/org/gcube/portlets/user/gcubeloggedin/client/ui/AboutView.java @@ -37,7 +37,7 @@ public class AboutView extends Composite { // more options label to show the other ones (if present) final Button showMoreOptions = new Button("Other options ..."); private static final String leaveAlertMessage = "Are you sure you want to leave this group? " - + "By leaving this group you will no longer receive updates and lose the workspace folder related to the group."; + + "By leaving this group you will no longer receive updates and lose the workspace folder related to the group. This operation may take a minute or so."; // panel for leave group option private VerticalPanel leaveVREOption = new VerticalPanel(); @@ -181,6 +181,10 @@ public class AboutView extends Composite { @Override public void onClick(ClickEvent event){ + alertBlockOnLeave.clear(); + alertBlockOnLeave.setHeading("Operation in progress!"); + alertBlockOnLeave.setHTML("please wait ..."); + service.removeUserFromVRE(new AsyncCallback() { @Override public void onSuccess(String result) {