summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-20 14:54:54 +0100
committerAndrew Dolgov <[email protected]>2006-08-20 14:54:54 +0100
commit79ec0f2f4c48e131972349d5289ee9da526cb2fa (patch)
treeaed7a9ed17379e084b761cc908bdf0194c416f7b /prefs.js
parente161a2cc343e7b9dc098036f296ad0f5842a8cb9 (diff)
sortable user editor
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/prefs.js b/prefs.js
index a91d430cb..c6daa6b6b 100644
--- a/prefs.js
+++ b/prefs.js
@@ -157,7 +157,7 @@ function updateFeedList(sort_key) {
}
-function updateUsersList() {
+function updateUsersList(sort_key) {
if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
@@ -168,7 +168,8 @@ function updateUsersList() {
// p_notify("Loading, please wait...");
- xmlhttp.open("GET", "backend.php?op=pref-users", true);
+ xmlhttp.open("GET", "backend.php?op=pref-users&sort="
+ + param_escape(sort_key), true);
xmlhttp.onreadystatechange=userlist_callback;
xmlhttp.send(null);