Backport r12646 from trunk: Be careful with global changes
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 23 Mar 2009 19:00:29 +0000 (19:00 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 23 Mar 2009 19:00:29 +0000 (19:00 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4_0@12648 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/constants.js

index 2380f33..7df18d0 100644 (file)
@@ -10,9 +10,9 @@ try {
        dump("Failed to fetch a locale from preferences: " + E + "\n");
 }
 
-/* Fall back to ' + LOCALE + ' if we didn't get a locale from the preferences */
+/* Fall back to en-US if we didn't get a locale from the preferences */
 if (!LOCALE) {
-       LOCALE = '' + LOCALE + '';
+       LOCALE = 'en-US';
 }
 
 const MODE_RDONLY   = 0x01;