summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-20 13:09:33 +0100
committerAndrew Dolgov <[email protected]>2006-05-20 13:09:33 +0100
commitc14b5566663e59d56043c7b580f0fad6d9b11cc7 (patch)
tree0ec1bfbcbdcefb9e3318f4c5abd86b8ff62361b4 /backend.php
parent5a4ef316b747640380f54fa7fa7a3d6edfd1c686 (diff)
fix unneeded submit of create filter form
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php27
1 files changed, 16 insertions, 11 deletions
diff --git a/backend.php b/backend.php
index 24b738204..f51e9c1a7 100644
--- a/backend.php
+++ b/backend.php
@@ -1567,9 +1567,9 @@
print "<div align='center'>
<input type=\"submit\" class=\"button\"
- onclick=\"feedEditSave()\" value=\"Save\">
+ onclick=\"return feedEditSave()\" value=\"Save\">
<input type='submit' class='button'
- onclick=\"feedEditCancel()\" value=\"Cancel\"></div>";
+ onclick=\"return feedEditCancel()\" value=\"Cancel\"></div>";
return;
}
@@ -2667,8 +2667,9 @@
id=\"fadd_submit_btn\" disabled=\"true\"
type=\"submit\" onclick=\"javascript:qafAdd()\" value=\"Subscribe\">
<input class=\"button\"
- type=\"submit\" onclick=\"javascript:closeInfoBox()\"
+ type=\"submit\" onclick=\"javascript:feedEditCancel()\"
value=\"Cancel\"></td></tr></table>";
+
}
if ($id == "quickDelFeed") {
@@ -2745,7 +2746,7 @@
print "<input type=\"hidden\" name=\"op\" value=\"pref-filters\">";
print "<input type=\"hidden\" name=\"quiet\" value=\"1\">";
- print "<input type=\"hidden\" name=\"subop\" value=\"add\">";
+ print "<input type=\"hidden\" name=\"subop\" value=\"add\">";
// print "<div class=\"notice\"><b>Note:</b> filter will only apply to new articles.</div>";
@@ -2786,21 +2787,25 @@
}
print "</select>";
-
- print "</td></tr><tr><td colspan=\"2\" align=\"right\">";
-
+
+ print "</td></tr></table>";
+
+ print "</form>";
+
+ print "<div align='right'>";
+
print "<input type=\"submit\"
id=\"infobox_submit\"
- class=\"button\" onclick=\"javascript:qaddFilter()\"
+ class=\"button\" onclick=\"qaddFilter()\"
disabled=\"true\" value=\"Create\"> ";
print "<input class=\"button\"
- type=\"submit\" onclick=\"javascript:closeInfoBox()\"
+ type=\"submit\" onclick=\"closeInfoBox()\"
value=\"Cancel\">";
- print "</td></tr></table>";
+ print "</div>";
- print "</form>";
+// print "</td></tr></table>";
}