summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-26 07:18:48 +0100
committerAndrew Dolgov <[email protected]>2005-08-26 07:18:48 +0100
commite1123aee35789042d768ca0597cbb04455b87496 (patch)
tree4087f36f8eb7b1eccec7809454b99f43f83e5088 /tt-rss.js
parent961513a3bb7de5e1d0e214710645046d977cd110 (diff)
disable btnCatchupPage when there is nothing to catchup
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 422d14d0d..a8766ad28 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -210,6 +210,11 @@ function catchupPage(feed) {
param_escape(rows.toString());
notify("Marking this page as read...");
+
+ var button = document.getElementById("btnCatchupPage");
+
+ button.className = "disabledButton";
+ button.href = "";
xmlhttp.open("GET", query_str, true);
xmlhttp.onreadystatechange=notify_callback;