LP#1736763: Wait until the org tree is there before using it
authorMike Rylander <mrylander@gmail.com>
Mon, 11 Dec 2017 21:21:39 +0000 (16:21 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 19 Dec 2017 19:05:30 +0000 (14:05 -0500)
commitde51eee1d698bf762ad997d0030e3076ab3d9910
treec9fef63be40ff83f9526e8662372a4bdbe7f5bab
parent21db8b772c26dcc12dee4f009fe442a446c0ecc5
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