From 5a0263839e6741408e528b16e9a4dfd047b44cb0 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 29 Jun 2018 15:34:35 +0000 Subject: [PATCH] ref #11879: TDM - Update to StorageHUB https://support.d4science.org/issues/#11879 Updated to StorageHub git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-json-export-widget@169562 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../td/jsonexportwidget/client/JSONWorkSpaceSelectionCard.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/portlets/user/td/jsonexportwidget/client/JSONWorkSpaceSelectionCard.java b/src/main/java/org/gcube/portlets/user/td/jsonexportwidget/client/JSONWorkSpaceSelectionCard.java index 580749a..d6a6216 100644 --- a/src/main/java/org/gcube/portlets/user/td/jsonexportwidget/client/JSONWorkSpaceSelectionCard.java +++ b/src/main/java/org/gcube/portlets/user/td/jsonexportwidget/client/JSONWorkSpaceSelectionCard.java @@ -96,7 +96,8 @@ public class JSONWorkSpaceSelectionCard extends WizardCard { @Override public void onSelectedItem(Item item) { Log.debug("Selected Item:" + item); - if (item.getType() == ItemType.FOLDER) { + if (item.getType() == ItemType.FOLDER||item.getType() == ItemType.PRIVATE_FOLDER + ||item.getType() == ItemType.SHARED_FOLDER||item.getType() == ItemType.VRE_FOLDER) { thisCard.exportSession.setItemId(item.getId()); } else { thisCard.exportSession.setItemId(null);