disable update button on nonupdateable feeds (fix for cached headlines)

This commit is contained in:
Andrew Dolgov 2012-10-25 13:27:44 +04:00
parent fa2cde396e
commit f4c0d2a693

View file

@ -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) {