mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-12 19:41:04 +02:00
fix error feed (i.e. when requested feed no longer exists) not display properly
This commit is contained in:
parent
f17069960c
commit
33c4bd8968
@ -991,7 +991,7 @@ class Feeds extends Handler_Protected {
|
|||||||
private function generate_error_feed($error) {
|
private function generate_error_feed($error) {
|
||||||
$reply = array();
|
$reply = array();
|
||||||
|
|
||||||
$reply['headlines']['id'] = -6;
|
$reply['headlines']['id'] = -7;
|
||||||
$reply['headlines']['is_cat'] = false;
|
$reply['headlines']['is_cat'] = false;
|
||||||
|
|
||||||
$reply['headlines']['toolbar'] = '';
|
$reply['headlines']['toolbar'] = '';
|
||||||
|
@ -46,7 +46,7 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (feed_id != getActiveFeedId() || is_cat != activeFeedIsCat())
|
if (feed_id != -7 && (feed_id != getActiveFeedId() || is_cat != activeFeedIsCat()))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* dijit.getEnclosingWidget(
|
/* dijit.getEnclosingWidget(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user