LP#1736763: Wait until the org tree is there before using it user/miker/lp-1736763-offline-working-location
authorMike Rylander <mrylander@gmail.com>
Mon, 11 Dec 2017 21:21:39 +0000 (16:21 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 11 Dec 2017 21:21:39 +0000 (16:21 -0500)
commit6b49c1cc152ee9d3ba68e18392d1a2f7e5845b9b
tree5a9b4cfac6a0d8bf5c79e08fbbbefe89287111b3
parent9a7e27bbe1cef474f6ac1d9d51b87a05faa81fce
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>
Open-ILS/web/js/ui/default/staff/offline.js