From e40d73b9ab2a49660cda0a58929c4b6da6e9e3e8 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 4 Nov 2014 11:25:13 +0000 Subject: [PATCH] Minor update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@101423 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/tablewidget/client/rows/EditRowPanel.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/gcube/portlets/user/td/tablewidget/client/rows/EditRowPanel.java b/src/main/java/org/gcube/portlets/user/td/tablewidget/client/rows/EditRowPanel.java index 978b1f9..13ea304 100644 --- a/src/main/java/org/gcube/portlets/user/td/tablewidget/client/rows/EditRowPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/tablewidget/client/rows/EditRowPanel.java @@ -166,6 +166,10 @@ public class EditRowPanel extends FramedPanel implements MonitorDialogListener { } }); + + if(columns.size()<1){ + btnSave.disable(); + } btnClose = new TextButton("Close"); btnClose.setIcon(ResourceBundle.INSTANCE.close());