summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-13 18:48:56 +0300
committerAndrew Dolgov <[email protected]>2010-11-13 18:48:56 +0300
commit428b704dbcd4d0869e5d3455eda9b7fbda5c221e (patch)
tree63259a235f35d8ed560a8d3df4d74916457f5501 /viewfeed.js
parenta18a4f387ad74f158c8634adb3e2dfe976364d88 (diff)
bring back update button, it makes async update request to the daemon
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index ebf479243..fa5c618ee 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -58,6 +58,10 @@ function headlines_callback2(transport, feed_cur_page) {
}
}
+ var update_btn = document.forms["main_toolbar_form"].update;
+
+ update_btn.disabled = !(feed_id >= 0 && !is_cat);
+
var ll = $('FLL-' + feed_id);
if (ll && ll.parentNode)