diff --git a/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java b/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java index 694c6c5..95a7a68 100644 --- a/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java +++ b/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java @@ -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());