href=\"javascript:viewfeed($feed, $skip, '');\">Refresh Page</a>";
print " ";
print "<a class=\"button\"
- href=\"javascript:viewfeed($feed, 0, 'ForceUpdate');\">Update</a>";
+ href=\"javascript:viewfeed($feed, 0, 'ForceUpdate');\">Update Feed</a>";
print " Mark as read: ";
xmlhttp = new XMLHttpRequest();
}
+function printLockingError() {
+ notify("Please wait until operation finishes");
+}
+
function notify_callback() {
var container = document.getElementById('notify');
if (xmlhttp.readyState == 4) {
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);
} else {
- notify("Please wait until operation finishes.");
+ printLockingError();
}
}
function catchupPage(feed) {
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
- notify("Please wait until operation finishes.");
+ printLockingError();
return
}
function catchupAllFeeds() {
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
- notify("Please wait until operation finishes.");
+ printLockingError();
return
}
var query_str = "backend.php?op=feeds&subop=catchupAll";
// document.getElementById('content').innerHTML=' ';
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
- notify("Please wait until operation finishes.");
+ printLockingError();
return
}
function view(id,feed_id) {
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
- notify("Please wait until operation finishes.");
+ printLockingError();
return
}
function search(feed, sender) {
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
- notify("Please wait until operation finishes.");
+ printLockingError();
return
}