disable update button on nonupdateable feeds (fix for cached headlines)
This commit is contained in:
parent
fa2cde396e
commit
f4c0d2a693
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue