let's avoid creating double-hyphened locales, too
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 5 Feb 2009 23:24:59 +0000 (23:24 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 5 Feb 2009 23:24:59 +0000 (23:24 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1654 9efc2488-bf62-4759-914b-345cdb29e865

src/javascript/DojoSRF.js

index fd02bfd..aa06c6b 100644 (file)
@@ -26,6 +26,6 @@ if(!dojo._hasResource['DojoSRF']){
                 OpenSRF.locale = localeMatch[1].toLowerCase();
         }
         if (localeMatch[2]) {
-                OpenSRF.locale = OpenSRF.locale + '-' + localeMatch[2].toUpperCase();
+                OpenSRF.locale = OpenSRF.locale + localeMatch[2].toUpperCase();
         }
 }