summaryrefslogtreecommitdiff
path: root/modules/pref-prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-20 12:40:18 +0100
committerAndrew Dolgov <[email protected]>2007-08-20 12:40:18 +0100
commitae661a8cfc4b21a4fa00db56d2e6827da674adca (patch)
treeae69882e734734afc417341ac860b1e01351b4b0 /modules/pref-prefs.php
parentb652c1b7c4bebf85fbad6d892d8e7ea36e9b2905 (diff)
change password form: add client-side validation
Diffstat (limited to 'modules/pref-prefs.php')
-rw-r--r--modules/pref-prefs.php3
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;