diff --git a/backend.php b/backend.php index 24b738204..f51e9c1a7 100644 --- a/backend.php +++ b/backend.php @@ -1567,9 +1567,9 @@ print "
+ onclick=\"return feedEditSave()\" value=\"Save\">
"; + onclick=\"return feedEditCancel()\" value=\"Cancel\">"; return; } @@ -2667,8 +2667,9 @@ id=\"fadd_submit_btn\" disabled=\"true\" type=\"submit\" onclick=\"javascript:qafAdd()\" value=\"Subscribe\"> "; + } if ($id == "quickDelFeed") { @@ -2745,7 +2746,7 @@ print ""; print ""; - print ""; + print ""; // print "
Note: filter will only apply to new articles.
"; @@ -2786,21 +2787,25 @@ } print ""; - - print ""; - + + print ""; + + print ""; + + print "
"; + print " "; print ""; - print ""; + print "
"; - print ""; +// print ""; } diff --git a/functions.js b/functions.js index 627eb287a..683d80077 100644 --- a/functions.js +++ b/functions.js @@ -969,6 +969,7 @@ function closeInfoBox() { } enableHotkeys(); + } @@ -1032,6 +1033,7 @@ function qaddFilter() { xmlhttp.onreadystatechange=infobox_submit_callback; xmlhttp.send(null); + return true; } function toggleSubmitNotEmpty(e, submit_id) { diff --git a/prefs.js b/prefs.js index e8c36bc7c..50809d870 100644 --- a/prefs.js +++ b/prefs.js @@ -661,6 +661,7 @@ function feedEditCancel() { selectPrefRows('feed', false); // cleanup feed selection active_feed = false; + } function feedCatEditCancel() { @@ -704,6 +705,8 @@ function feedEditSave() { xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xmlhttp.send(query); + return false; + } catch (e) { exception_error("feedEditSave", e); }