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
6eff9358
...
6eff93586c55014ea8d390b37cd1ab9b82041c92
authored
2013-02-21 23:05:43 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
minor adjusting for #376
1 parent
61b83b86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
modules/clientutils.js
modules/clientutils.js
View file @
6eff935
...
...
@@ -459,6 +459,7 @@
* @return Mixed
*/
this
.
getFieldValue
=
function
getFieldValue
(
inputName
,
options
)
{
options
=
options
||
{};
function
getSingleValue
(
input
)
{
var
type
;
try
{
...
...
@@ -496,7 +497,7 @@
}
var
formSelector
=
''
;
if
(
options
&&
options
.
formSelector
)
{
formSelector
=
options
.
formSelector
+
' '
;
formSelector
=
options
.
formSelector
+
' '
;
}
var
inputs
=
this
.
findAll
(
formSelector
+
'[name="'
+
inputName
+
'"]'
);
switch
(
inputs
.
length
)
{
...
...
Please
register
or
sign in
to post a comment