1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-23 15:51:27 +00:00

pref-feeds: add checkbox to toggle last article times info

This commit is contained in:
Andrew Dolgov
2007-05-18 07:12:17 +01:00
parent 1eabf6dd00
commit 400b60d8c2
2 changed files with 46 additions and 11 deletions

View File

@@ -205,8 +205,16 @@ function updateFeedList(sort_key) {
var search = "";
if (feed_search) { search = feed_search.value; }
var slat = document.getElementById("show_last_article_times");
var slat_checked = false;
if (slat) {
slat_checked = slat.checked;
}
xmlhttp.open("GET", "backend.php?op=pref-feeds" +
"&sort=" + param_escape(sort_key) +
"&slat=" + param_escape(slat_checked) +
"&search=" + param_escape(search), true);
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);
@@ -1716,3 +1724,8 @@ function changeUserEmail() {
return false;
}
function feedlistToggleSLAT() {
notify_progress("Loading, please wait...");
updateFeedList()
}