[wellwell-devel] [wellwell] Prevent WebKit browsers from choking on onchange="this.form.submit(); "
Stefan Hornburg
wellwell-devel at rt.icdevgroup.org
Fri Aug 6 13:15:44 UTC 2010
commit f8df89f83687be97ef786dc087f648dcfe7507c7
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Fri Aug 6 15:15:23 2010 +0200
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
code/theme_form_submit.sub | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/code/theme_form_submit.sub b/code/theme_form_submit.sub
index c4958b1..82f4e8e 100644
--- a/code/theme_form_submit.sub
+++ b/code/theme_form_submit.sub
@@ -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;
More information about the wellwell-devel
mailing list