Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
392556ba
...
392556ba00c30a7cff4c08a7a5f42ccde5d5f463
authored
2012-05-12 09:50:17 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
clientutils: use of findAll anywhere applicable
1 parent
fe0400c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/clientutils.js
modules/clientutils.js
View file @
392556b
...
...
@@ -211,7 +211,7 @@
if
(
!
vals
.
hasOwnProperty
(
name
))
{
continue
;
}
var
field
=
form
.
querySelector
All
(
'[name="'
+
name
+
'"]'
);
var
field
=
this
.
find
All
(
'[name="'
+
name
+
'"]'
);
var
value
=
vals
[
name
];
if
(
!
field
)
{
out
.
errors
.
push
(
'no field named "'
+
name
+
'" in form'
);
...
...
Please
register
or
sign in
to post a comment