diff options
-rw-r--r-- | backend.php | 5 | ||||
-rw-r--r-- | functions.js | 2 | ||||
-rw-r--r-- | tt-rss.js | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/backend.php b/backend.php index 75891208d..656d88dfa 100644 --- a/backend.php +++ b/backend.php @@ -2688,11 +2688,10 @@ print "<div align='right'> <input class=\"button\" id=\"fadd_submit_btn\" disabled=\"true\" - type=\"submit\" onclick=\"javascript:qafAdd()\" value=\"Subscribe\"> + type=\"submit\" onclick=\"return qafAdd()\" value=\"Subscribe\"> <input class=\"button\" - type=\"submit\" onclick=\"javascript:closeInfoBox()\" + type=\"submit\" onclick=\"return closeInfoBox()\" value=\"Cancel\"></div>"; - } if ($id == "search") { diff --git a/functions.js b/functions.js index 76a443d9d..2f7774b90 100644 --- a/functions.js +++ b/functions.js @@ -1268,6 +1268,8 @@ function qafAdd() { xmlhttp.open("GET", "backend.php?" + query, true); xmlhttp.onreadystatechange=dlg_frefresh_callback; xmlhttp.send(null); + + return false; } function filterCR(e) @@ -478,6 +478,8 @@ function qfdDelete(feed_id) { xmlhttp.open("GET", "backend.php?op=pref-feeds&quiet=1&subop=remove&ids=" + feed_id); xmlhttp.onreadystatechange=dlg_frefresh_callback; xmlhttp.send(null); + + return false; } |