[open-ils-commits] r12058 - branches/rel_1_4/Open-ILS/web/opac/common/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 3 23:48:38 EST 2009
Author: dbs
Date: 2009-02-03 23:48:36 -0500 (Tue, 03 Feb 2009)
New Revision: 12058
Modified:
branches/rel_1_4/Open-ILS/web/opac/common/js/RemoteRequest.js
Log:
Backport r12055 from trunk to make gateway requests honour OpenSRF locale vs. Dojo locale. Sigh.
Modified: branches/rel_1_4/Open-ILS/web/opac/common/js/RemoteRequest.js
===================================================================
--- branches/rel_1_4/Open-ILS/web/opac/common/js/RemoteRequest.js 2009-02-04 04:47:38 UTC (rev 12057)
+++ branches/rel_1_4/Open-ILS/web/opac/common/js/RemoteRequest.js 2009-02-04 04:48:36 UTC (rev 12058)
@@ -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