From b83c75451c08569d90aedf7a54b5fa868ec6608e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Nov 2005 11:47:30 +0100 Subject: sortable feed editor --- prefs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'prefs.js') 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); -- cgit v1.2.3