[open-ils-commits] r15516 - trunk/Open-ILS/web/js/dojo/openils (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Feb 12 11:11:48 EST 2010
Author: miker
Date: 2010-02-12 11:11:46 -0500 (Fri, 12 Feb 2010)
New Revision: 15516
Modified:
trunk/Open-ILS/web/js/dojo/openils/I18N.js
Log:
Addressing https://bugs.launchpad.net/evergreen/+bug/520632 -- not strictly required here, but for(;;) is better form for array access
Modified: trunk/Open-ILS/web/js/dojo/openils/I18N.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/I18N.js 2010-02-12 16:10:57 UTC (rev 15515)
+++ trunk/Open-ILS/web/js/dojo/openils/I18N.js 2010-02-12 16:11:46 UTC (rev 15516)
@@ -35,7 +35,7 @@
}
);
- for (var i in openils.I18N.BaseLocales) {
+ for (var i = 0; i < openils.I18N.BaseLocales.length; i++) {
openils.I18N.localeStore.newItem({ locale : openils.I18N.BaseLocales[i].code, label : openils.I18N.BaseLocales[i].name });
}
More information about the open-ils-commits
mailing list