mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 20:01:28 +00:00
disable update button on nonupdateable feeds
This commit is contained in:
@@ -53,6 +53,10 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
|||||||
|
|
||||||
setActiveFeedId(feed_id, is_cat);
|
setActiveFeedId(feed_id, is_cat);
|
||||||
|
|
||||||
|
dijit.getEnclosingWidget(
|
||||||
|
document.forms["main_toolbar_form"].update).attr('disabled',
|
||||||
|
is_cat || feed_id <= 0);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (offset == 0 && infscroll_req == false) {
|
if (offset == 0 && infscroll_req == false) {
|
||||||
$("headlines-frame").scrollTop = 0;
|
$("headlines-frame").scrollTop = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user