Commit 392556ba 392556ba00c30a7cff4c08a7a5f42ccde5d5f463 by Nicolas Perriault

clientutils: use of findAll anywhere applicable

1 parent fe0400c8
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
211 if (!vals.hasOwnProperty(name)) { 211 if (!vals.hasOwnProperty(name)) {
212 continue; 212 continue;
213 } 213 }
214 var field = form.querySelectorAll('[name="' + name + '"]'); 214 var field = this.findAll('[name="' + name + '"]');
215 var value = vals[name]; 215 var value = vals[name];
216 if (!field) { 216 if (!field) {
217 out.errors.push('no field named "' + name + '" in form'); 217 out.errors.push('no field named "' + name + '" in form');
......