fixed bug not sending emails when notification via email was selected

git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portlets/user/share-updates@117059 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2015-07-07 16:37:25 +00:00
parent e85191a73b
commit c39afeef2f
1 changed files with 3 additions and 5 deletions

View File

@ -174,12 +174,10 @@ public class ShareUpdateForm extends Composite {
//change css if deployed in VRE scope //change css if deployed in VRE scope
if (!userSettings.isInfrastructure()) { if (!userSettings.isInfrastructure()) {
mainPanel.addStyleName("framed"); mainPanel.addStyleName("framed");
notifyListbox.addItem("Share with: " + singleVREName);
notifyListbox.addItem("Share with: " + singleVREName+" + Notification to members");
if (notificationEmail) { if (notificationEmail) {
notifyListbox.addItem("Share with: " + singleVREName+" + Notification to members"); notifyListbox.setSelectedIndex(1);
notifyListbox.addItem("Share with: " + singleVREName);
} else {
notifyListbox.addItem("Share with: " + singleVREName);
notifyListbox.addItem("Share with: " + singleVREName+" + Notification to members");
} }
notifyListbox.setVisible(true); notifyListbox.setVisible(true);
} }