disableContainerChildren("headlinesToolbar", false, doc);
+ var btnMarkAsRead = doc.getElementById("btnMarkFeedAsRead");
+
+ if (btnMarkAsRead && (feed < 0 || !isNumeric(feed))) {
+ btnMarkAsRead.disabled = true;
+ btnMarkAsRead.className = "disabledButton";
+ }
+
// notify("");
}
disableContainerChildren("headlinesToolbar", false, doc);
+ var btnMarkAsRead = document.getElementById("btnMarkFeedAsRead");
+
+ if (btnMarkAsRead && (feed < 0 || !isNumeric(feed))) {
+ btnMarkAsRead.disabled = true;
+ btnMarkAsRead.className = "disabledButton";
+ }
+
// notify("");
}
Feed: <input class="button" type="submit"
onclick="javascript:viewCurrentFeed(0, 'ForceUpdate')" value="Update">
- <input class="button" type="submit"
+ <input class="button" type="submit" id="btnMarkFeedAsRead"
onclick="javascript:viewCurrentFeed(0, 'MarkAllRead')" value="Mark as read">
</td>