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:
parent
49cfebc0cd
commit
2a35e1a2ab
|
@ -322,12 +322,12 @@ public class TabularResourceProperties extends FramedPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void onSave() {
|
protected void onSave() {
|
||||||
if (nameField.getValue() == null || nameField.getValue().isEmpty()) {
|
if (nameField.getValue() == null || nameField.getValue().isEmpty()) {
|
||||||
alert("Attention", "Fill name field");
|
alert("Attention", "Fill name field");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (descriptionField.getValue() == null
|
/*if (descriptionField.getValue() == null
|
||||||
|| descriptionField.getValue().isEmpty()) {
|
|| descriptionField.getValue().isEmpty()) {
|
||||||
alert("Attention", "Fill description field");
|
alert("Attention", "Fill description field");
|
||||||
return;
|
return;
|
||||||
|
@ -336,7 +336,7 @@ public class TabularResourceProperties extends FramedPanel {
|
||||||
if (rightField.getValue() == null || rightField.getValue().isEmpty()) {
|
if (rightField.getValue() == null || rightField.getValue().isEmpty()) {
|
||||||
alert("Attention", "Fill rights field");
|
alert("Attention", "Fill rights field");
|
||||||
return;
|
return;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
tabResource.setName(nameField.getValue());
|
tabResource.setName(nameField.getValue());
|
||||||
tabResource.setDescription(descriptionField.getValue());
|
tabResource.setDescription(descriptionField.getValue());
|
||||||
|
|
Loading…
Reference in New Issue