X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=9de2651da74cded462ba423ba9316547540f8655;hb=d6e3304fe08bbc401fc9faba0ed5bea1e02c52dd;hp=faa5d3899939046e6f8cc08a4ebab7183f6f6362;hpb=06ab6fcc69af9bd450c3dc5b65fa1cee8fca13ea;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index faa5d38999..9de2651da7 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -47360,13 +47360,12 @@ clientValidation Boolean Applies to submit only. Pass true to call fo // use formdata if (typeof(FormData) != 'undefined' && asString !== true) { - var fd = new FormData(this.el.dom).entries(); + var fd = (new FormData(this.el.dom)).entries(); var ret = {}; - while (pair = fd.next()) { - if (pair.done) { - break; - } - ret[pair.value[0]] = pair.value[1]; // not sure how this will handle duplicates.. + var ent = fd.next(); + while (!ent.done) { + ret[ent.value[0]] = ent.value[1]; // not sure how this will handle duplicates.. + ent = fd.next(); }; return ret; }