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>
Wed, 9 Jan 2019 15:37:36 +0000 (10:37 -0500)
commit9c0f2991bdc70a356c8272fe93cc7223f766f474
tree447eb53358d97693309a2773dab0006c2602568d
parentdb27c7990d49e8753bcbfe31c8644d461508c627
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