LP#1770981 Apply OpenSRF locale on webstaf page load user/berick/lp1770981-webstaff-apply-osrf-locale
authorBill Erickson <berickxx@gmail.com>
Tue, 14 Aug 2018 19:22:49 +0000 (15:22 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 14 Aug 2018 19:22:52 +0000 (15:22 -0400)
commit5b2c0132474008eee95b803f8990f647db60f75b
tree4595cb04406200a2fbc082645c0d34158b5bf7a0
parente8e766724270ee2b5cac7ef193a4e5647d5d2ad7
LP#1770981 Apply OpenSRF locale on webstaf page load

Translate the locale from the locale cookie into the global
OpenSRF.locale variable so network calls are stamped with the correct
locale.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/services/startup.js