minor fix on group retrieval
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@141390 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fc37476794
commit
7fda2a764e
|
@ -521,8 +521,9 @@ public class CreateDatasetForm extends Composite{
|
||||||
if(groups == null){
|
if(groups == null){
|
||||||
setAlertBlock("Error while retrieving groups, try later", AlertType.ERROR, true);
|
setAlertBlock("Error while retrieving groups, try later", AlertType.ERROR, true);
|
||||||
}else{
|
}else{
|
||||||
if(groups.isEmpty())
|
if(groups.isEmpty()){
|
||||||
return;
|
// ...
|
||||||
|
}
|
||||||
else{
|
else{
|
||||||
|
|
||||||
// add groups
|
// add groups
|
||||||
|
|
Loading…
Reference in New Issue