What steps will reproduce the problem?
1.click <input type=submit/>
2.form is submitted without ajax, regardless of <form target="_self"> not being
present
What is the expected output? What do you see instead?
Since isn't present, I'd expect the form to submit in the same way it does when
you click <a type=submit>
Add this code:
addEventListener("submit", function(event)
{
var input = findParent(event.target, "form");
if (input.target == "_self")
{
input.submit();
return; // allow default
}
submitForm(input);
}
, true);
Insert around line 345 between the 2 click event listeners in Version 0.40-dev2
Original issue reported on code.google.com by lictor4@gmail.com on 12 Jul 2010 at 4:48
Original issue reported on code.google.com by
lictor4@gmail.com
on 12 Jul 2010 at 4:48