Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Prevent WebKit browsers from choking on onchange="this.form.submit();"
with:

Uncaught TypeError: Property 'submit' of object #<an HTMLFormElement> is not
a function

See also: http://code.google.com/p/chromium/issues/detail?id=18090
  • Loading branch information
racke committed Aug 6, 2010
1 parent 2b2ab94 commit f8df89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/theme_form_submit.sub
Expand Up @@ -10,7 +10,7 @@ sub {
}
}
else {
$submit = q{<input type="submit" name="submit" value="OK">};
$submit = q{<input type="submit" name="ok" value="OK">};
}

return $submit;
Expand Down

0 comments on commit f8df89f

Please sign in to comment.