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)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 15 Jan 2019 16:52:16 +0000 (11:52 -0500)
commit372961a5f30c4dfa0ab8a2c91d41068c70c8bd4f
tree9661c6112c184608390a431f6e4bf11f44e827fe
parent586e552f57bbbe5650e83fe33d5ad9f4093cec3f
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>
Open-ILS/web/js/ui/default/staff/circ/patron/pending.js
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js