]> 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:56:01 +0000 (09:56 -0500)
commit0cc470d49fc4d41e49a9f6752120135af9ac6a8f
tree56bc6ec764cf252215f53371dc3092e1c02a1219
parentdfe7598493edd0348045ed2a6cb26d10e95be99a
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