X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=3b8a47648d97a75546702e5d5edc1bb169ba7df9;hb=2b9a59dd7afca21c711abf15c1768b73e80c1dbf;hp=6e125677b4ccfa217eab4364585544cee9afdbd6;hpb=c2162fa64f4d6cb2a21a9296cdf9c79ab00ece5e;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index 6e125677b4..3b8a47648d 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -47358,6 +47358,15 @@ clientValidation Boolean Applies to submit only. Pass true to call fo }, this); } + // use formdata + if (typeof(FormData) != 'undefined' && asString !== true) { + var fd = new FormData(this.el.dom); + var ret = {}; + while (pair = fd.entries().next()) { + ret[pair[0]] = pair[1]; // not sure how this will handle duplicates.. + }; + return ret; + } var fs = Roo.lib.Ajax.serializeForm(this.el.dom);