From: dbs Date: Wed, 4 Feb 2009 04:37:46 +0000 (+0000) Subject: And now make old-school gateway requests behave in the OPAC. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=61007b60aca5510265c15b54892300ebd5f3f50a;p=evergreen%2Ftadl.git And now make old-school gateway requests behave in the OPAC. git-svn-id: svn://svn.open-ils.org/ILS/trunk@12055 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;