LP#1705068 - fix workstation already exists cancel btn freezes UI user/cesardv/lp1705068_ws_registration_existing_ui_bug
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 8 Sep 2017 20:23:33 +0000 (16:23 -0400)
committerCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 8 Sep 2017 20:23:33 +0000 (16:23 -0400)
commit4464b3a700f9233089377fe0302c46ef390e4943
treeb2a35671668d27ae26726509f30c63c17e8962d9
parentf51917d26637e78dc216ecef96e6d0aba4ddbd2a
LP#1705068 - fix workstation already exists cancel btn freezes UI

The $scope.is_registering is used to enable/disable the Register btn
and was not being set back to false, when the user chose to cancel
using an existing WS name, and exiting the modal.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js