diff --git a/classes/Feeds.php b/classes/Feeds.php index 41351fbde..64674b2d2 100644 --- a/classes/Feeds.php +++ b/classes/Feeds.php @@ -453,7 +453,7 @@ class Feeds extends Handler_Protected { if ($num_errors > 0) { $reply['content'] .= "
"; - $reply['content'] .= "" . + $reply['content'] .= "" . __('Some feeds have update errors (click for details)') . ""; } $reply['content'] .= "

"; @@ -603,7 +603,7 @@ class Feeds extends Handler_Protected { if ($num_errors > 0) { $reply['headlines']['content'] .= "
"; - $reply['headlines']['content'] .= "". + $reply['headlines']['content'] .= "". __('Some feeds have update errors (click for details)').""; } $reply['headlines']['content'] .= "

"; diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js index 989a61539..f666eda36 100644 --- a/js/CommonDialogs.js +++ b/js/CommonDialogs.js @@ -251,6 +251,27 @@ const CommonDialogs = { alert(__("No feeds selected.")); } }, + debugSelected: function() { + const sel_rows = this.getSelectedFeeds(); + + if (sel_rows.length > 0) { + if (confirm(__("Debug selected feeds?"))) { + Notify.progress("Opening debugger for selected feeds...", true); + + for (let i = 0; i < sel_rows.length; i++) { + /* global __csrf_token */ + App.postOpenWindow("backend.php", { + op: "Feeds", + method: "updatedebugger", + feed_id: sel_rows[i], + csrf_token: __csrf_token, + }); + } + } + } else { + alert(__("No feeds selected.")); + } + }, content: `
@@ -290,6 +311,9 @@ const CommonDialogs = { +