diff options
author | Andrew Dolgov <[email protected]> | 2006-08-20 14:43:58 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-08-20 14:43:58 +0100 |
commit | e161a2cc343e7b9dc098036f296ad0f5842a8cb9 (patch) | |
tree | 902fcf33a0f4b017885fccaf7ea7d2703eaa98bf /prefs.js | |
parent | 0e317f9d872f538fbf13f81e8a72272ab2c92e84 (diff) |
sortable label editor
Diffstat (limited to 'prefs.js')
-rw-r--r-- | prefs.js | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1083,13 +1083,14 @@ function updateFilterList(sort_key) { // p_notify("Loading, please wait..."); - xmlhttp.open("GET", "backend.php?op=pref-filters&sort=" + param_escape(sort_key), true); + xmlhttp.open("GET", "backend.php?op=pref-filters&sort=" + + param_escape(sort_key), true); xmlhttp.onreadystatechange=filterlist_callback; xmlhttp.send(null); } -function updateLabelList() { +function updateLabelList(sort_key) { if (!xmlhttp_ready(xmlhttp)) { printLockingError(); @@ -1100,7 +1101,8 @@ function updateLabelList() { // document.getElementById("prefContent").innerHTML = "Loading labels, please wait..."; - xmlhttp.open("GET", "backend.php?op=pref-labels", true); + xmlhttp.open("GET", "backend.php?op=pref-labels&sort=" + + param_escape(sort_key), true); xmlhttp.onreadystatechange=labellist_callback; xmlhttp.send(null); } |