diff --git a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/save/WorkSpaceSelectionCard.java b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/save/WorkSpaceSelectionCard.java index 87c7e1b..85fbca5 100644 --- a/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/save/WorkSpaceSelectionCard.java +++ b/src/main/java/org/gcube/portlets/user/td/resourceswidget/client/save/WorkSpaceSelectionCard.java @@ -105,6 +105,12 @@ public class WorkSpaceSelectionCard extends WizardCard { Log.debug("WorkspaceExplorer Aborted"); } + + @Override + public void onNotValidSelection() { + thisCard.saveResourceSession.setItemId(null); + + } }; wpanel.addWorkspaceExplorerSelectNotificationListener(handler);