[open-ils-commits] r12059 - branches/rel_1_4_0/Open-ILS/web/opac/common/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 3 23:49:01 EST 2009
Author: dbs
Date: 2009-02-03 23:48:59 -0500 (Tue, 03 Feb 2009)
New Revision: 12059
Modified:
branches/rel_1_4_0/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_0/Open-ILS/web/opac/common/js/RemoteRequest.js
===================================================================
--- branches/rel_1_4_0/Open-ILS/web/opac/common/js/RemoteRequest.js 2009-02-04 04:48:36 UTC (rev 12058)
+++ branches/rel_1_4_0/Open-ILS/web/opac/common/js/RemoteRequest.js 2009-02-04 04:48:59 UTC (rev 12059)
@@ -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