IDEMPIERE-1937:zk7: NPE when click cancel from screen "change role" when login and "forget password"
This commit is contained in:
parent
21cf6fc9c5
commit
91de1b4358
|
@ -320,7 +320,7 @@ public class ResetPasswordPanel extends Window implements EventListener<Event>
|
||||||
else if (event.getTarget().getId().equals(ConfirmPanel.A_CANCEL))
|
else if (event.getTarget().getId().equals(ConfirmPanel.A_CANCEL))
|
||||||
{
|
{
|
||||||
SessionManager.logoutSession();
|
SessionManager.logoutSession();
|
||||||
wndLogin.loginCancelled();
|
//wndLogin.loginCancelled();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -490,7 +490,7 @@ public class ResetPasswordPanel extends Window implements EventListener<Event>
|
||||||
@Override
|
@Override
|
||||||
public void onCallback(Integer result) {
|
public void onCallback(Integer result) {
|
||||||
SessionManager.logoutSession();
|
SessionManager.logoutSession();
|
||||||
wndLogin.loginCancelled();
|
//wndLogin.loginCancelled();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -535,13 +535,13 @@ public class RolePanel extends Window implements EventListener<Event>, Deferrabl
|
||||||
} else {
|
} else {
|
||||||
ctxBeforeChangeRole = null;
|
ctxBeforeChangeRole = null;
|
||||||
SessionManager.logoutSession();
|
SessionManager.logoutSession();
|
||||||
wndLogin.loginCancelled();
|
//wndLogin.loginCancelled();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ON_DEFER_LOGOUT.equals(event.getName()))
|
else if (ON_DEFER_LOGOUT.equals(event.getName()))
|
||||||
{
|
{
|
||||||
SessionManager.logoutSession();
|
SessionManager.logoutSession();
|
||||||
wndLogin.loginCancelled();
|
//wndLogin.loginCancelled();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue