changed messagebox.info as message box confirm
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@100292 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8c4de289f4
commit
88f765fa64
|
@ -2123,9 +2123,9 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
|||
final List<org.gcube.portlets.widgets.workspacesharingwidget.shared.InfoContactModel> targets = multiDragContact.getTargetContactsWithMyLogin();
|
||||
|
||||
if(targets.size()==1){
|
||||
MessageBox info = MessageBox.info("Any Administrator/s?", "You have not selected any Administrator, confirm only you as Administrator and exit?", null);
|
||||
MessageBoxConfirm info = new MessageBoxConfirm("Any Administrator/s?", "You have not selected any Administrator, confirm only you as Administrator and exit?");
|
||||
|
||||
info.addCallback(new Listener<MessageBoxEvent>() {
|
||||
info.getMessageBoxConfirm().addCallback(new Listener<MessageBoxEvent>() {
|
||||
|
||||
public void handleEvent(MessageBoxEvent be) {
|
||||
//IF NOT CANCELLED
|
||||
|
@ -2138,8 +2138,6 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
info.show();
|
||||
}
|
||||
|
||||
if(targets.size()>1){
|
||||
|
|
Loading…
Reference in New Issue