diff --git a/src/main/java/org/gcube/portlets/user/shareupdates/client/view/ShareUpdateForm.java b/src/main/java/org/gcube/portlets/user/shareupdates/client/view/ShareUpdateForm.java index d6903ba..d8f12ad 100644 --- a/src/main/java/org/gcube/portlets/user/shareupdates/client/view/ShareUpdateForm.java +++ b/src/main/java/org/gcube/portlets/user/shareupdates/client/view/ShareUpdateForm.java @@ -174,12 +174,10 @@ public class ShareUpdateForm extends Composite { //change css if deployed in VRE scope if (!userSettings.isInfrastructure()) { mainPanel.addStyleName("framed"); + notifyListbox.addItem("Share with: " + singleVREName); + notifyListbox.addItem("Share with: " + singleVREName+" + Notification to members"); if (notificationEmail) { - notifyListbox.addItem("Share with: " + singleVREName+" + Notification to members"); - notifyListbox.addItem("Share with: " + singleVREName); - } else { - notifyListbox.addItem("Share with: " + singleVREName); - notifyListbox.addItem("Share with: " + singleVREName+" + Notification to members"); + notifyListbox.setSelectedIndex(1); } notifyListbox.setVisible(true); }