LP#1770981 Apply OpenSRF locale on webstaff page load
authorBill Erickson <berickxx@gmail.com>
Tue, 14 Aug 2018 19:22:49 +0000 (15:22 -0400)
committerBen Shum <ben@evergreener.net>
Wed, 15 Aug 2018 16:42:27 +0000 (12:42 -0400)
commitfdd829da38d9b62e301538af968b727a7f19c330
treee0934783ca35ca1a5788549d7f0b7a4f0c5e70f6
parent65baf6b58639ed883960c9b88efed54b1bc61a3b
LP#1770981 Apply OpenSRF locale on webstaff 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>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/web/js/ui/default/staff/services/startup.js