LP#1736763: Wait until the org tree is there before using it user/cesardv/miker_lp-1736763-offline-working-location-signoff
authorMike Rylander <mrylander@gmail.com>
Mon, 11 Dec 2017 21:21:39 +0000 (16:21 -0500)
committerCesar Velez <cesar.velez@equinoxinitiative.org>
Fri, 5 Jan 2018 22:12:53 +0000 (17:12 -0500)
commitc5d3c52f9126711eae3c712faf6201ece1ec9eec
tree13eed264ae8d8251d5e9b118dfcaa1c81e0bc187
parent3b596a0ac12e5edbe9fa1d508d8ba4116a230f63
LP#1736763: Wait until the org tree is there before using it

In offline mode, we need to wait for the org tree to be fetched or recreated
before we set the working location dropdown.  This commit adds a function
to loop and wait for that to happen.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/offline.js