[open-ils-commits] r12647 - branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 23 15:00:12 EDT 2009


Author: dbs
Date: 2009-03-23 15:00:06 -0400 (Mon, 23 Mar 2009)
New Revision: 12647

Modified:
   branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main/constants.js
Log:
Backport r12646 from trunk: Be careful with global changes

Modified: branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2009-03-23 18:59:23 UTC (rev 12646)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2009-03-23 19:00:06 UTC (rev 12647)
@@ -10,9 +10,9 @@
 	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;



More information about the open-ils-commits mailing list