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

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Feb 3 23:37:49 EST 2009


Author: dbs
Date: 2009-02-03 23:37:46 -0500 (Tue, 03 Feb 2009)
New Revision: 12055

Modified:
   trunk/Open-ILS/web/opac/common/js/RemoteRequest.js
Log:
And now make old-school gateway requests behave in the OPAC.


Modified: trunk/Open-ILS/web/opac/common/js/RemoteRequest.js
===================================================================
--- trunk/Open-ILS/web/opac/common/js/RemoteRequest.js	2009-02-04 01:43:25 UTC (rev 12054)
+++ trunk/Open-ILS/web/opac/common/js/RemoteRequest.js	2009-02-04 04:37:46 UTC (rev 12055)
@@ -61,7 +61,8 @@
 
 	/* 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;



More information about the open-ils-commits mailing list