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());