diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2012-06-29 13:11:39 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2012-06-29 13:11:39 +0400 |
| commit | 310fa2ddef16793656315244c1c68fc6008a79a4 (patch) | |
| tree | 21f9df9960986714a874436af164c511c69485a8 /js/prefs.js | |
| parent | 955d4f82eaa4bef245597ae9e95e8b1d2880af41 (diff) | |
implement search in pref-filters
Diffstat (limited to 'js/prefs.js')
| -rw-r--r-- | js/prefs.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/prefs.js b/js/prefs.js index e9ae891f4..2a2f359eb 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -824,8 +824,12 @@ function importData() { function updateFilterList() { + var user_search = $("filter_search"); + var search = ""; + if (user_search) { search = user_search.value; } + new Ajax.Request("backend.php", { - parameters: "?op=pref-filters", + parameters: "?op=pref-filters&search=" + param_escape(search), onComplete: function(transport) { dijit.byId('filterConfigTab').attr('content', transport.responseText); notify(""); |