summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorwn_ <[email protected]>2024-05-16 15:48:21 +0000
committerwn_ <[email protected]>2024-05-16 15:48:21 +0000
commit5e7713a65818154470c2afab7798ebf65bacadc3 (patch)
tree1c0fe2f7c4a00beb2e85bd95e6079b68b4d745b5 /classes
parente2e161dece498190413d814233db21eeeca97707 (diff)
Add option to debug feeds in 'Feeds with update errors' dialog.
Also, prevent opening that dialog from modifying the URL.
Diffstat (limited to 'classes')
-rw-r--r--classes/Feeds.php4
1 files changed, 2 insertions, 2 deletions
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'] .= "<br/>";
- $reply['content'] .= "<a class=\"text-muted\" href=\"#\" onclick=\"CommonDialogs.showFeedsWithErrors()\">" .
+ $reply['content'] .= "<a class=\"text-muted\" href=\"#\" onclick=\"CommonDialogs.showFeedsWithErrors(); return false\">" .
__('Some feeds have update errors (click for details)') . "</a>";
}
$reply['content'] .= "</span></p></div>";
@@ -603,7 +603,7 @@ class Feeds extends Handler_Protected {
if ($num_errors > 0) {
$reply['headlines']['content'] .= "<br/>";
- $reply['headlines']['content'] .= "<a class=\"text-muted\" href=\"#\" onclick=\"CommonDialogs.showFeedsWithErrors()\">".
+ $reply['headlines']['content'] .= "<a class=\"text-muted\" href=\"#\" onclick=\"CommonDialogs.showFeedsWithErrors(); return false\">".
__('Some feeds have update errors (click for details)')."</a>";
}
$reply['headlines']['content'] .= "</span></p>";