LP1765179 - fix issue with pending/staged user reg
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 7 Dec 2018 23:50:43 +0000 (18:50 -0500)
committerJason Etheridge <jason@EquinoxInitiative.org>
Wed, 2 Jan 2019 13:08:58 +0000 (08:08 -0500)
commit58d7812bdb4b51be08bcac1522282841c056bfac
treef486723140f6f792e09a3af8287fd48938f8b58b
parentc78ddc8c1c9785ddcabd287ad241ff7fb97ab1c9
LP1765179 - fix issue with pending/staged user reg

After completing a staged user registration, the controller
in regctl.js was refreshing to the same route, and
trying to fetch the same staged user, but never finding it
as it was no longer staged/pending. This addresses that bug
and adds a bChannel refresh to the pending grid, so once
the user is registered in the child tab, it closes the tab and
the pending user grid is updated.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/web/js/ui/default/staff/circ/patron/pending.js
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js