[open-ils-commits] r12646 - trunk/Open-ILS/xul/staff_client/chrome/content/main (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 23 14:59:27 EDT 2009


Author: dbs
Date: 2009-03-23 14:59:23 -0400 (Mon, 23 Mar 2009)
New Revision: 12646

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

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2009-03-23 18:44:19 UTC (rev 12645)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/constants.js	2009-03-23 18:59:23 UTC (rev 12646)
@@ -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