lp1731272 - hanging progress bar for records with no holds
authora. bellenir <ab@grpl.org>
Wed, 27 Jun 2018 00:57:08 +0000 (20:57 -0400)
committera. bellenir <ab@grpl.org>
Wed, 27 Jun 2018 00:57:08 +0000 (20:57 -0400)
commitd3c037a3fd9f1a5da39fe95b1797386d4d5b1313
treef8d95c61341402054e11d5eeb5c9c97072531ef9
parentadeb0791d3c2dc333e34035bd14adbdabee2bc72
lp1731272 - hanging progress bar for records with no holds

there is a race condition between opening/closing the progress dialog if there are no holds.
use setTimeout to force egProgressDialog.close to the end of the javascript event queue.

Signed-off-by: a. bellenir <ab@grpl.org>
Open-ILS/web/js/ui/default/staff/cat/catalog/app.js