From 6e22938efd75eec6c7f9cb2a5f4812668e02e1b9 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 19 Aug 2008 20:02:54 +0000 Subject: [PATCH] Now that we have a Dojo language picker, spread the locale-awareness git-svn-id: svn://svn.open-ils.org/ILS/trunk@10374 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/common/js/RemoteRequest.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/common/js/RemoteRequest.js b/Open-ILS/web/opac/common/js/RemoteRequest.js index 09a14227c9..a9ef9cc88f 100644 --- a/Open-ILS/web/opac/common/js/RemoteRequest.js +++ b/Open-ILS/web/opac/common/js/RemoteRequest.js @@ -61,6 +61,7 @@ function RemoteRequest( service, method ) { this.service = service; + this.locale = dojo.config.locale; this.method = method; this.xmlhttp = false; this.name = null; @@ -84,7 +85,7 @@ function RemoteRequest( service, method ) { } if(!this.params) { this.params = ""; } - this.param_string = "service=" + service + "&method=" + method + this.params; + this.param_string = "service=" + service + "&locale=" + locale + "&method=" + method + this.params; if( this.buildXMLRequest() == null ) alert("Browser is not supported!"); } -- 2.11.0