[Opensrf-commits] r1654 - trunk/src/javascript (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Feb 5 18:25:04 EST 2009
Author: dbs
Date: 2009-02-05 18:24:59 -0500 (Thu, 05 Feb 2009)
New Revision: 1654
Modified:
trunk/src/javascript/DojoSRF.js
Log:
let's avoid creating double-hyphened locales, too
Modified: trunk/src/javascript/DojoSRF.js
===================================================================
--- trunk/src/javascript/DojoSRF.js 2009-02-05 23:21:57 UTC (rev 1653)
+++ trunk/src/javascript/DojoSRF.js 2009-02-05 23:24:59 UTC (rev 1654)
@@ -26,6 +26,6 @@
OpenSRF.locale = localeMatch[1].toLowerCase();
}
if (localeMatch[2]) {
- OpenSRF.locale = OpenSRF.locale + '-' + localeMatch[2].toUpperCase();
+ OpenSRF.locale = OpenSRF.locale + localeMatch[2].toUpperCase();
}
}
More information about the opensrf-commits
mailing list