remote service isleavebuttonavailable fixed
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/questions@128513 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2d790c2429
commit
2c31a666b1
|
@ -157,7 +157,7 @@ public class VREManagersPanel extends Composite {
|
|||
public void onSuccess(Boolean result) {
|
||||
leaveVREOption.clear();
|
||||
leaveVREOption.setHorizontalAlignment(HasAlignment.ALIGN_LEFT);
|
||||
if(!result)
|
||||
if(result)
|
||||
addLeaveVREButton();
|
||||
|
||||
}
|
||||
|
|
|
@ -161,7 +161,7 @@ public class QuestionsServiceImpl extends RemoteServiceServlet implements Questi
|
|||
_log.error("Unable to evaluate if the leave button can be added for the current group " + currSite.getGroupName(), e);
|
||||
}
|
||||
_log.debug("Is Leave button available in vre " + currSite.getGroupName() + " ? " + isMandatory);
|
||||
return isMandatory;
|
||||
return !isMandatory;
|
||||
}else return true;
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue