summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-20 14:40:03 +0100
committerAndrew Dolgov <[email protected]>2006-08-20 14:40:03 +0100
commit0e317f9d872f538fbf13f81e8a72272ab2c92e84 (patch)
tree9f03652fb0a24d57bb154b4a7641e2438995925e /prefs.js
parent7e3634d91891d5ab85f8d0b021bc296d728c92c7 (diff)
sortable filter list
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js4
1 files changed, 2 insertions, 2 deletions
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);