From: Roland Häder Date: Tue, 10 May 2016 13:13:08 +0000 (+0200) Subject: don't forget to clear helper contact instance. When a user/recruiter has been added... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d226cbe391070609298604b43b2d07533d95553b;p=jfinancials-war.git don't forget to clear helper contact instance. When a user/recruiter has been added with a selected contact instance, it got not removed from selectableContacts list. Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebRequestBean.java b/src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebRequestBean.java index e6e54d4b..ed1958c5 100644 --- a/src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebRequestBean.java +++ b/src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebRequestBean.java @@ -263,6 +263,9 @@ public class AddressbookAdminUserWebRequestBean implements AddressbookAdminUserW throw new FaceletException(ex); } + // Clear helper + this.adminHelper.setContact(null); + // Fire event this.addedUserEvent.fire(new AdminUserAddedEvent(updatedUser));