X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=9de2651da74cded462ba423ba9316547540f8655;hb=d6e3304fe08bbc401fc9faba0ed5bea1e02c52dd;hp=3b8a47648d97a75546702e5d5edc1bb169ba7df9;hpb=2b9a59dd7afca21c711abf15c1768b73e80c1dbf;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index 3b8a47648d..9de2651da7 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -47360,10 +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); + var fd = (new FormData(this.el.dom)).entries(); var ret = {}; - while (pair = fd.entries().next()) { - ret[pair[0]] = pair[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; }