From 0e317f9d872f538fbf13f81e8a72272ab2c92e84 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 20 Aug 2006 14:40:03 +0100 Subject: sortable filter list --- prefs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'prefs.js') diff --git a/prefs.js b/prefs.js index eabdd3016..626d216a6 100644 --- a/prefs.js +++ b/prefs.js @@ -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); -- cgit v1.2.3