lp1261835 stop colliding bill UI refreshes collab/phasefx/lp1261835
authorJason Etheridge <jason@esilibrary.com>
Wed, 2 Nov 2016 18:28:08 +0000 (14:28 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 2 Nov 2016 18:34:31 +0000 (14:34 -0400)
commit44d71aaf4fd124b95baa002715902a7972c1f0d9
treef44bc09ea75ba2e782c7f9b3e40bb3aa405461f0
parent59503ede86bb06c97319f12e96bc30604264307d
lp1261835 stop colliding bill UI refreshes

for want of promises in Angular :)

population of the bill list in this implementation is asynchronous, but the rest
of the refresh action is not, and it's sadly being invoked multiple times. There
are different ways to fix this, but using a semaphore seems to work.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/patron/bill2.js