[open-ils-commits] r15513 - trunk/Open-ILS/web/js/dojo/MARC (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Feb 12 11:04:35 EST 2010


Author: miker
Date: 2010-02-12 11:04:33 -0500 (Fri, 12 Feb 2010)
New Revision: 15513

Modified:
   trunk/Open-ILS/web/js/dojo/MARC/Field.js
Log:
reverting one of the for..in to for(;;) changes for "arguments" -- that is special

Modified: trunk/Open-ILS/web/js/dojo/MARC/Field.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/MARC/Field.js	2010-02-12 15:49:32 UTC (rev 15512)
+++ trunk/Open-ILS/web/js/dojo/MARC/Field.js	2010-02-12 16:04:33 UTC (rev 15513)
@@ -47,7 +47,7 @@
         },
 
         addSubfields : function () {
-            for (var i = 0; i < arguments.length; i++) {
+            for (var i in arguments) {
                 var code = arguments[i];
                 var value = arguments[++i];
                 this.subfields.push( [ code, value ] );



More information about the open-ils-commits mailing list