clientutils: use of findAll anywhere applicable
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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'); | ... | ... |
-
Please register or sign in to post a comment