fix form autosubmit problem

This commit is contained in:
Andrew Dolgov 2007-03-02 21:58:29 +01:00
parent d95bd22032
commit e6312f6c97
7 changed files with 12 additions and 12 deletions

View File

@ -43,7 +43,7 @@
print "<div id=\"infoBoxTitle\">Subscribe to feed</div>";
print "<div class=\"infoBoxContents\">";
print "<form id='feed_add_form'>";
print "<form id='feed_add_form' onsubmit='return false'>";
print "<input type=\"hidden\" name=\"op\" value=\"pref-feeds\">";
print "<input type=\"hidden\" name=\"quiet\" value=\"1\">";
@ -80,7 +80,7 @@
print "<div id=\"infoBoxTitle\">Search</div>";
print "<div class=\"infoBoxContents\">";
print "<form id='search_form'>";
print "<form id='search_form' onsubmit='return false'>";
#$active_feed_id = db_escape_string($_GET["param"]);
@ -159,7 +159,7 @@
print "<div id=\"infoBoxTitle\">Create label</div>";
print "<div class=\"infoBoxContents\">";
print "<form id=\"label_edit_form\">";
print "<form id=\"label_edit_form\" onsubmit='return false'>";
print "<input type=\"hidden\" name=\"op\" value=\"pref-labels\">";
print "<input type=\"hidden\" name=\"subop\" value=\"add\">";
@ -209,7 +209,7 @@
print "<div id=\"infoBoxTitle\">Create filter</div>";
print "<div class=\"infoBoxContents\">";
print "<form id=\"filter_add_form\">";
print "<form id=\"filter_add_form\" onsubmit='return false'>";
print "<input type=\"hidden\" name=\"op\" value=\"pref-filters\">";
print "<input type=\"hidden\" name=\"quiet\" value=\"1\">";
@ -327,7 +327,7 @@
print "<div id=\"infoBoxTitle\">Edit Tags</div>";
print "<div class=\"infoBoxContents\">";
print "<form id=\"tag_edit_form\">";
print "<form id=\"tag_edit_form\" onsubmit='return false'>";
print "Tags for this article (separated by commas):<br>";

View File

@ -146,7 +146,7 @@
print "<div class=\"infoBoxContents\">";
print "<form id=\"edit_feed_form\">";
print "<form id=\"edit_feed_form\" onsubmit=\"return false\">";
print "<input type=\"hidden\" name=\"id\" value=\"$feed_id\">";
print "<input type=\"hidden\" name=\"op\" value=\"pref-feeds\">";
@ -614,7 +614,7 @@
print "<div class=\"prefFeedCatHolder\">";
print "<form id=\"feed_cat_edit_form\">";
print "<form id=\"feed_cat_edit_form\" onsubmit=\"return false\">";
print "<table width=\"100%\" class=\"prefFeedCatList\"
cellspacing=\"0\" id=\"prefFeedCatList\">";

View File

@ -22,7 +22,7 @@
print "<div id=\"infoBoxTitle\">Filter editor</div>";
print "<div class=\"infoBoxContents\">";
print "<form id=\"filter_edit_form\">";
print "<form id=\"filter_edit_form\" onsubmit='return false'>";
print "<input type=\"hidden\" name=\"op\" value=\"pref-filters\">";
print "<input type=\"hidden\" name=\"id\" value=\"$filter_id\">";

View File

@ -27,7 +27,7 @@
print "<div id=\"infoBoxTitle\">Label editor</div>";
print "<div class=\"infoBoxContents\">";
print "<form id=\"label_edit_form\">";
print "<form id=\"label_edit_form\" onsubmit='return false'>";
print "<input type=\"hidden\" name=\"op\" value=\"pref-labels\">";
print "<input type=\"hidden\" name=\"id\" value=\"$label_id\">";

View File

@ -227,7 +227,7 @@
print "</form>";
print "<form action=\"backend.php\" method=\"POST\"
print "<form onsubmit=\"return false\"
name=\"change_pass_form\" id=\"change_pass_form\">";
print "<table width=\"100%\" class=\"prefPrefsList\">";

View File

@ -13,7 +13,7 @@
print "<div class=\"infoBoxContents\">";
print "<form id=\"user_edit_form\">";
print "<form id=\"user_edit_form\" onsubmit='return false'>";
print "<input type=\"hidden\" name=\"id\" value=\"$id\">";
print "<input type=\"hidden\" name=\"op\" value=\"pref-users\">";

View File

@ -145,7 +145,7 @@ window.onload = init;
</select>
</div>
<form id="main_toolbar_form">
<form id="main_toolbar_form" onsubmit='return false'>
<?php echo _('Search:') ?>
<input name="query"