minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@130663 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3b3bc51224
commit
69c045c221
|
@ -1072,7 +1072,7 @@ public class CreateDatasetForm extends Composite{
|
|||
* @return
|
||||
*/
|
||||
private boolean checkSelectedMetaDataProfile() {
|
||||
return metadataProfilesFormatListbox.getSelectedItemText().equals("none") && (metadataProfilesFormatListbox.getItemCount() == 1);
|
||||
return metadataProfilesFormatListbox.getSelectedItemText().equals("none") && (metadataProfilesFormatListbox.getItemCount() != 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue