summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-23 11:47:30 +0100
committerAndrew Dolgov <[email protected]>2005-11-23 11:47:30 +0100
commitb83c75451c08569d90aedf7a54b5fa868ec6608e (patch)
treea314357e8a19b28e18a4f589dd7c3ee5ddf1850c /prefs.js
parent18837e9f226a48e79f97e6cbafdf0fb0e2a47970 (diff)
sortable feed editor
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/prefs.js b/prefs.js
index 846f6825f..04b313836 100644
--- a/prefs.js
+++ b/prefs.js
@@ -165,8 +165,7 @@ function notify_callback() {
}
}
-
-function updateFeedList() {
+function updateFeedList(sort_key) {
if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
@@ -177,7 +176,8 @@ function updateFeedList() {
p_notify("Loading, please wait...");
- xmlhttp.open("GET", "backend.php?op=pref-feeds", true);
+ xmlhttp.open("GET", "backend.php?op=pref-feeds" +
+ "&sort=" + param_escape(sort_key), true);
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);