1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 10:46:49 +00:00

disable btnCatchupPage when there is nothing to catchup

This commit is contained in:
Andrew Dolgov
2005-08-26 07:18:48 +01:00
parent 961513a3bb
commit e1123aee35
2 changed files with 20 additions and 4 deletions

View File

@@ -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;