Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@96389 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-06-03 13:01:12 +00:00
parent 49cfebc0cd
commit 2a35e1a2ab
1 changed files with 3 additions and 3 deletions

View File

@ -322,12 +322,12 @@ public class TabularResourceProperties extends FramedPanel {
}
protected void onSave() {
if (nameField.getValue() == null || nameField.getValue().isEmpty()) {
if (nameField.getValue() == null || nameField.getValue().isEmpty()) {
alert("Attention", "Fill name field");
return;
}
if (descriptionField.getValue() == null
/*if (descriptionField.getValue() == null
|| descriptionField.getValue().isEmpty()) {
alert("Attention", "Fill description field");
return;
@ -336,7 +336,7 @@ public class TabularResourceProperties extends FramedPanel {
if (rightField.getValue() == null || rightField.getValue().isEmpty()) {
alert("Attention", "Fill rights field");
return;
}
}*/
tabResource.setName(nameField.getValue());
tabResource.setDescription(descriptionField.getValue());