]> git.evergreen-ils.org Git - Evergreen.git/commit
Dojo IDL: Set the "Accept-Language" header
authorDan Scott <dscott@laurentian.ca>
Tue, 18 Dec 2012 13:52:55 +0000 (08:52 -0500)
committerDan Scott <dscott@laurentian.ca>
Wed, 19 Dec 2012 14:57:24 +0000 (09:57 -0500)
commit0b7ce9a6f0b416403f56e549c1410ff4fa01f8bf
tree6ca77c7c8b26c19070af3bc9f5c87295714b029a
parent0a14b5951e6e80a73daa7d03485cf69513bd82dc
Dojo IDL: Set the "Accept-Language" header

The internationalization support for /reports/fm_IDL.xml keys off of the
Accept-Language header - which, if not set to ^[a-z]{2}-[A-Z]{2}$, falls
back to en-US. Setting the header in the dojo.xhrGet() request makes
Apache able to serve up the right flavour of /reports/fm_IDL.xml

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Open-ILS/web/js/dojo/fieldmapper/IDL.js