1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 15:41:29 +00:00

sortable filter list

This commit is contained in:
Andrew Dolgov
2006-08-20 14:40:03 +01:00
parent 7e3634d918
commit 0e317f9d87
2 changed files with 13 additions and 7 deletions

View File

@@ -1072,7 +1072,7 @@ function validateOpmlImport() {
}
}
function updateFilterList() {
function updateFilterList(sort_key) {
if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
@@ -1083,7 +1083,7 @@ function updateFilterList() {
// p_notify("Loading, please wait...");
xmlhttp.open("GET", "backend.php?op=pref-filters", true);
xmlhttp.open("GET", "backend.php?op=pref-filters&sort=" + param_escape(sort_key), true);
xmlhttp.onreadystatechange=filterlist_callback;
xmlhttp.send(null);