fixed bug on dialog button

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@100293 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2014-09-30 13:01:18 +00:00
parent 88f765fa64
commit d2c9cedcba
1 changed files with 1 additions and 1 deletions

View File

@ -2130,7 +2130,7 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
public void handleEvent(MessageBoxEvent be) {
//IF NOT CANCELLED
String clickedButton = be.getButtonClicked().getItemId();
if(clickedButton.equals(Dialog.OK)){
if(clickedButton.equals(Dialog.YES)){
List<String> logins = new ArrayList<String>(1);
logins.add(targets.get(0).getLogin());
doAddAdministratorToFolderId(file, logins);