X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;h=3b8a47648d97a75546702e5d5edc1bb169ba7df9;hp=aeb4c2226de9a3a081364f61a31c0df52794c004;hb=2b9a59dd7afca21c711abf15c1768b73e80c1dbf;hpb=aa5332a9deb4916dc2d4b05980f50031c32abddd diff --git a/roojs-debug.js b/roojs-debug.js index aeb4c2226d..3b8a47648d 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -47360,11 +47360,11 @@ 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 ret = {}; - (new FormData(this.el.dom)).entries().forEach(function(pair) { + while (pair = fd.entries().next()) { ret[pair[0]] = pair[1]; // not sure how this will handle duplicates.. - }); + }; return ret; }