[open-ils-commits] r12049 - trunk/Open-ILS/web/opac/skin/default/xml/common
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 3 15:49:58 EST 2009
Author: dbs
Date: 2009-02-03 15:49:54 -0500 (Tue, 03 Feb 2009)
New Revision: 12049
Modified:
trunk/Open-ILS/web/opac/skin/default/xml/common/js_common.xml
Log:
Dojo wants locales passed to it in xx-yy format, not xx-YY.
Closes #39.
Modified: trunk/Open-ILS/web/opac/skin/default/xml/common/js_common.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/common/js_common.xml 2009-02-03 19:24:16 UTC (rev 12048)
+++ trunk/Open-ILS/web/opac/skin/default/xml/common/js_common.xml 2009-02-03 20:49:54 UTC (rev 12049)
@@ -41,7 +41,7 @@
var locale = location.href.replace( /.+opac\/([^\/]+)\/skin.+/, '$1' );
if (!locale) locale = '<!--#echo var="locale"-->';
- djConfig.locale = locale;
+ djConfig.locale = locale.toLowerCase();
</script>
More information about the open-ils-commits
mailing list