changed updated.png
This commit is contained in:
parent
076682aa66
commit
a234aee573
|
@ -261,7 +261,7 @@
|
||||||
href=\"javascript:viewfeed($feed, $skip, '');\">Refresh Page</a>";
|
href=\"javascript:viewfeed($feed, $skip, '');\">Refresh Page</a>";
|
||||||
print " ";
|
print " ";
|
||||||
print "<a class=\"button\"
|
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: ";
|
print " Mark as read: ";
|
||||||
|
|
||||||
|
|
16
tt-rss.js
16
tt-rss.js
|
@ -26,6 +26,10 @@ if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
|
||||||
xmlhttp = new XMLHttpRequest();
|
xmlhttp = new XMLHttpRequest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function printLockingError() {
|
||||||
|
notify("Please wait until operation finishes");
|
||||||
|
}
|
||||||
|
|
||||||
function notify_callback() {
|
function notify_callback() {
|
||||||
var container = document.getElementById('notify');
|
var container = document.getElementById('notify');
|
||||||
if (xmlhttp.readyState == 4) {
|
if (xmlhttp.readyState == 4) {
|
||||||
|
@ -105,14 +109,14 @@ function updateFeedList(called_from_timer, fetch) {
|
||||||
xmlhttp.onreadystatechange=feedlist_callback;
|
xmlhttp.onreadystatechange=feedlist_callback;
|
||||||
xmlhttp.send(null);
|
xmlhttp.send(null);
|
||||||
} else {
|
} else {
|
||||||
notify("Please wait until operation finishes.");
|
printLockingError();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function catchupPage(feed) {
|
function catchupPage(feed) {
|
||||||
|
|
||||||
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
||||||
notify("Please wait until operation finishes.");
|
printLockingError();
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,7 +157,7 @@ function catchupPage(feed) {
|
||||||
function catchupAllFeeds() {
|
function catchupAllFeeds() {
|
||||||
|
|
||||||
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
||||||
notify("Please wait until operation finishes.");
|
printLockingError();
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var query_str = "backend.php?op=feeds&subop=catchupAll";
|
var query_str = "backend.php?op=feeds&subop=catchupAll";
|
||||||
|
@ -172,7 +176,7 @@ function viewfeed(feed, skip, subop) {
|
||||||
// document.getElementById('content').innerHTML=' ';
|
// document.getElementById('content').innerHTML=' ';
|
||||||
|
|
||||||
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
||||||
notify("Please wait until operation finishes.");
|
printLockingError();
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -188,7 +192,7 @@ function viewfeed(feed, skip, subop) {
|
||||||
function view(id,feed_id) {
|
function view(id,feed_id) {
|
||||||
|
|
||||||
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
||||||
notify("Please wait until operation finishes.");
|
printLockingError();
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -234,7 +238,7 @@ function timeout() {
|
||||||
function search(feed, sender) {
|
function search(feed, sender) {
|
||||||
|
|
||||||
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
if (xmlhttp.readyState != 4 && xmlhttp.readyState != 0) {
|
||||||
notify("Please wait until operation finishes.");
|
printLockingError();
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
BIN
updated.png
BIN
updated.png
Binary file not shown.
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 224 B |
Loading…
Reference in New Issue