1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 15:15:56 +00:00

implement a simple pseudo-dashboard feed; display feeds having update errors there instead of client-based 'no feed selected' whiteBox plug (closes #189)

This commit is contained in:
Andrew Dolgov
2010-11-04 19:11:54 +03:00
parent 85a922895f
commit fe1087fbb7
5 changed files with 45 additions and 6 deletions

View File

@@ -87,10 +87,7 @@ function toggleTags(show_all) {
function dlg_frefresh_callback(transport, deleted_feed) {
if (getActiveFeedId() == deleted_feed) {
var h = $("headlines-frame");
if (h) {
h.innerHTML = "<div class='whiteBox'>" + __('No feed selected.') + "</div>";
}
setTimeout("viewfeed(-5)", 100);
}
setTimeout('updateFeedList(false, false)', 50);
@@ -1327,3 +1324,8 @@ function reverseHeadlineOrder() {
exception_error("reverseHeadlineOrder", e);
}
}
function showFeedsWithErrors() {
displayDlg('feedUpdateErrors');
}