Feature #17677, Please provide a loader as feedback when a user leaves a
VRE
This commit is contained in:
parent
61d1e77b40
commit
0f777c0203
|
@ -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<String>() {
|
||||
@Override
|
||||
public void onSuccess(String result) {
|
||||
|
|
Loading…
Reference in New Issue