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