From 2a35e1a2abad9880f9ec47a6dac8cdbab73f46d1 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 3 Jun 2014 13:01:12 +0000 Subject: [PATCH] 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 --- .../informationwidget/client/TabularResourceProperties.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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());