From 042caf282bcca7d7d3c26e663bcfe49d6feadc6a Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 12 Feb 2010 16:04:33 +0000 Subject: [PATCH] reverting one of the for..in to for(;;) changes for "arguments" -- that is special git-svn-id: svn://svn.open-ils.org/ILS/trunk@15513 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/MARC/Field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/MARC/Field.js b/Open-ILS/web/js/dojo/MARC/Field.js index 7242a8945b..9694c3840d 100644 --- a/Open-ILS/web/js/dojo/MARC/Field.js +++ b/Open-ILS/web/js/dojo/MARC/Field.js @@ -47,7 +47,7 @@ if(!dojo._hasResource["MARC.Field"]) { }, 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 ] ); -- 2.11.0