Roo/form/BasicForm.js
authorAlan Knowles <alan@roojs.com>
Wed, 25 Sep 2019 04:55:52 +0000 (12:55 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 Sep 2019 04:55:52 +0000 (12:55 +0800)
Roo/form/BasicForm.js

index 3f2d7fd..911f00b 100644 (file)
@@ -540,9 +540,9 @@ 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()) {
+            while (pair = fd.next()) {
                 if (pair.done) {
                     break;
                 }