mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 22:41:28 +00:00
disable update button on nonupdateable feeds (fix for cached headlines)
This commit is contained in:
@@ -2100,6 +2100,10 @@ function render_local_headlines(feed, is_cat, obj) {
|
||||
setActiveFeedId(feed, is_cat);
|
||||
initHeadlinesMenu();
|
||||
|
||||
dijit.getEnclosingWidget(
|
||||
document.forms["main_toolbar_form"].update).attr('disabled',
|
||||
is_cat || feed <= 0);
|
||||
|
||||
precache_headlines();
|
||||
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user