Commit 392556ba 392556ba00c30a7cff4c08a7a5f42ccde5d5f463 by Nicolas Perriault

clientutils: use of findAll anywhere applicable

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