[open-ils-commits] r10374 - trunk/Open-ILS/web/opac/common/js

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Aug 19 16:03:18 EDT 2008


Author: dbs
Date: 2008-08-19 16:02:54 -0400 (Tue, 19 Aug 2008)
New Revision: 10374

Modified:
   trunk/Open-ILS/web/opac/common/js/RemoteRequest.js
Log:
Now that we have a Dojo language picker, spread the locale-awareness


Modified: trunk/Open-ILS/web/opac/common/js/RemoteRequest.js
===================================================================
--- trunk/Open-ILS/web/opac/common/js/RemoteRequest.js	2008-08-19 13:42:18 UTC (rev 10373)
+++ trunk/Open-ILS/web/opac/common/js/RemoteRequest.js	2008-08-19 20:02:54 UTC (rev 10374)
@@ -61,6 +61,7 @@
 
 
 	this.service	= service;
+	this.locale		= dojo.config.locale;
 	this.method		= method;
 	this.xmlhttp	= false;
 	this.name		= null;
@@ -84,7 +85,7 @@
 	}
 
 	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!");
 
 }



More information about the open-ils-commits mailing list