[open-ils-commits] r11173 - trunk/Open-ILS/xul/staff_client/chrome/content/util
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Nov 13 15:26:42 EST 2008
Author: phasefx
Date: 2008-11-13 15:26:38 -0500 (Thu, 13 Nov 2008)
New Revision: 11173
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/mozilla.js
Log:
change intl.accept_languages in addition to general.useragent.locale
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/mozilla.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/mozilla.js 2008-11-13 20:21:21 UTC (rev 11172)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/mozilla.js 2008-11-13 20:26:38 UTC (rev 11173)
@@ -63,6 +63,7 @@
try { current_locale = util.mozilla.prefs().getCharPref('general.useragent.locale'); } catch(E) { alert('util.locale.change, prefs() = ' + E); }
if (locale != current_locale) {
util.mozilla.prefs().setCharPref('general.useragent.locale',locale);
+ util.mozilla.prefs().setCharPref('intl.accept_languages',locale);
util.mozilla.chromeRegistry().reloadChrome();
}
More information about the open-ils-commits
mailing list