minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@130120 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
dc033d812c
commit
c47f1ded2f
|
@ -330,12 +330,12 @@ public class CreateDatasetForm extends Composite{
|
||||||
|
|
||||||
|
|
||||||
// if there are not resources, for now just checked it ( and hide so that the step will be skipped) TODO
|
// if there are not resources, for now just checked it ( and hide so that the step will be skipped) TODO
|
||||||
// if(bean.getResources() == null || bean.getResources().isEmpty()){
|
if(bean.getResources() == null || bean.getResources().isEmpty()){
|
||||||
|
|
||||||
resourcesControlGroup.setVisible(false);
|
resourcesControlGroup.setVisible(false);
|
||||||
alertNoResources.setType(AlertType.WARNING);
|
alertNoResources.setType(AlertType.WARNING);
|
||||||
alertNoResources.setVisible(true);
|
alertNoResources.setVisible(true);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// try to retrieve the licenses
|
// try to retrieve the licenses
|
||||||
setAlertBlock("Retrieving licenses, please wait...", AlertType.INFO, true);
|
setAlertBlock("Retrieving licenses, please wait...", AlertType.INFO, true);
|
||||||
|
|
Loading…
Reference in New Issue