From: dbs Date: Wed, 4 Feb 2009 04:48:59 +0000 (+0000) Subject: Backport r12055 from trunk to make gateway requests honour OpenSRF locale vs. Dojo... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=346e6c5a57eb1f71ab23baa313e010c0e49637a4;p=Evergreen.git Backport r12055 from trunk to make gateway requests honour OpenSRF locale vs. Dojo locale. Sigh. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@12059 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/common/js/RemoteRequest.js b/Open-ILS/web/opac/common/js/RemoteRequest.js index 53d183062d..aff59b4734 100644 --- a/Open-ILS/web/opac/common/js/RemoteRequest.js +++ b/Open-ILS/web/opac/common/js/RemoteRequest.js @@ -61,7 +61,8 @@ function RemoteRequest( service, method ) { /* dojo is currently only available in the OPAC */ try { - this.locale = dojo.config.locale; + /* We want OpenSRF.locale for xx-YY format */ + this.locale = OpenSRF.locale; } catch (e) { this.locale = null;