From: dbs Date: Thu, 5 Feb 2009 23:24:59 +0000 (+0000) Subject: let's avoid creating double-hyphened locales, too X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=11c353174ff7013e822452d251474fd63b8c1ce0;p=opensrf%2Fbjwebb.git let's avoid creating double-hyphened locales, too git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1654 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/javascript/DojoSRF.js b/src/javascript/DojoSRF.js index fd02bfd..aa06c6b 100644 --- a/src/javascript/DojoSRF.js +++ b/src/javascript/DojoSRF.js @@ -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(); } }