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
f3b8e92f
...
f3b8e92f479161af7376bfc04f770f7a97ae7495
authored
2011-10-09 09:11:00 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added log message on form submit
1 parent
2064ce88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
casper.js
casper.js
View file @
f3b8e92
...
...
@@ -625,6 +625,8 @@
this
.
setField
(
field
,
value
);
}
if
(
submit
)
{
console
.
log
(
'submitting form to '
+
(
form
.
getAttribute
(
'action'
)
||
"unknown"
)
+
', HTTP '
+
(
form
.
getAttribute
(
'method'
).
toUpperCase
()
||
"GET"
));
form
.
submit
();
}
};
...
...
Please
register
or
sign in
to post a comment