From a545927b4c8db45a0a4b85113fa2e8157551c37f Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 30 May 2014 11:05:22 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-extractcodelist-widget@96320 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/TargetColumnsSelectionPanel.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/TargetColumnsSelectionPanel.java b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/TargetColumnsSelectionPanel.java index 5816cab..618c544 100644 --- a/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/TargetColumnsSelectionPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/extractcodelistwidget/client/TargetColumnsSelectionPanel.java @@ -239,7 +239,7 @@ public class TargetColumnsSelectionPanel extends FramedPanel implements } }; - final String indexS = String.valueOf(index); + comboDefColumn.addTriggerClickHandler(new TriggerClickHandler() { @@ -249,7 +249,7 @@ public class TargetColumnsSelectionPanel extends FramedPanel implements comboDefColumn.collapse(); CreateDefColumnDialog createDefColumnDialog = new CreateDefColumnDialog( - indexS, TableType.CODELIST, parent.getEventBus()); + TableType.CODELIST, parent.getEventBus()); createDefColumnDialog.addListener(createDefColumnListener); createDefColumnDialog.show(); @@ -301,7 +301,7 @@ public class TargetColumnsSelectionPanel extends FramedPanel implements } }; - final String indexS = String.valueOf(index); + comboDefColumn.addTriggerClickHandler(new TriggerClickHandler() { @@ -311,7 +311,7 @@ public class TargetColumnsSelectionPanel extends FramedPanel implements comboDefColumn.collapse(); CreateDefColumnDialog createDefColumnDialog = new CreateDefColumnDialog( - indexS, TableType.CODELIST, parent.getEventBus()); + TableType.CODELIST, parent.getEventBus()); createDefColumnDialog.addListener(createDefColumnListener); createDefColumnDialog.show();