diff options
author | Andrew Dolgov <[email protected]> | 2007-08-20 12:40:18 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-20 12:40:18 +0100 |
commit | ae661a8cfc4b21a4fa00db56d2e6827da674adca (patch) | |
tree | ae69882e734734afc417341ac860b1e01351b4b0 /modules | |
parent | b652c1b7c4bebf85fbad6d892d8e7ea36e9b2905 (diff) |
change password form: add client-side validation
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pref-prefs.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 2564f30e4..27dfd6756 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -316,7 +316,8 @@ owner_uid = ".$_SESSION["uid"]." ORDER BY section_id,short_desc"); - print "<form action=\"backend.php\" method=\"POST\" id=\"pref_prefs_form\">"; + print "<form onsubmit='return false' action=\"backend.php\" + method=\"POST\" id=\"pref_prefs_form\">"; $lnum = 0; |