diff options
author | Andrew Dolgov <[email protected]> | 2017-12-04 11:02:13 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-12-04 11:02:13 +0300 |
commit | 0518510814ffaca80d277bdf1a20fc3b44271f65 (patch) | |
tree | 7050bf036a7bfbaf36e87d21c78104a52031f602 /js/prefs.js | |
parent | 8f92a67e6f1831d9cf1e746ddf8a06cc065d94ce (diff) |
remove some obsolete stuff, fix minor issues found by code analyzer
Diffstat (limited to 'js/prefs.js')
-rwxr-xr-x | js/prefs.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/prefs.js b/js/prefs.js index 0512e0e34..a3f32dcbc 100755 --- a/js/prefs.js +++ b/js/prefs.js @@ -9,7 +9,7 @@ function notify_callback2(transport, sticky) { notify_info(transport.responseText, sticky); } -function updateFeedList(sort_key) { +function updateFeedList() { var user_search = $("feed_search"); var search = ""; @@ -83,7 +83,7 @@ function addUser() { } -function editUser(id, event) { +function editUser(id) { var query = "backend.php?op=pref-users&method=edit&id=" + param_escape(id); @@ -749,7 +749,7 @@ function updateSystemList() { } }); } -function selectTab(id, noupdate, method) { +function selectTab(id, noupdate) { if (!noupdate) { notify_progress("Loading, please wait..."); @@ -1319,7 +1319,7 @@ function resetCatOrder() { }); } -function editCat(id, item, event) { +function editCat(id, item) { var new_name = prompt(__('Rename category to:'), item.name); if (new_name && new_name != item.name) { @@ -1340,7 +1340,7 @@ function editCat(id, item, event) { } } -function editLabel(id, event) { +function editLabel(id) { var query = "backend.php?op=pref-labels&method=edit&id=" + param_escape(id); |