From e1123aee35789042d768ca0597cbb04455b87496 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Aug 2005 07:18:48 +0100 Subject: disable btnCatchupPage when there is nothing to catchup --- tt-rss.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tt-rss.js') 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; -- cgit v1.2.3