summaryrefslogtreecommitdiff
path: root/js/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-15 09:59:08 +0400
committerAndrew Dolgov <[email protected]>2012-08-15 09:59:08 +0400
commit28537341efcbc9add611e4d5969a0f31ab0b2ea3 (patch)
tree3655b3e223736e98459359cc3c3bee8649aeaa38 /js/prefs.js
parent5ef071e00ba62c5b66a594b55185ef87012dc40a (diff)
pref_feeds: add missing methods to add/remove cats
Diffstat (limited to 'js/prefs.js')
-rw-r--r--js/prefs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/prefs.js b/js/prefs.js
index c0ad6a86e..d351a7bc3 100644
--- a/js/prefs.js
+++ b/js/prefs.js
@@ -1175,7 +1175,7 @@ function removeCategory(id, item) {
var ok = confirm(__("Remove category %s? Any nested feeds would be placed into Uncategorized.").replace("%s", item.name));
if (ok) {
- var query = "?op=pref-feeds&method=editCats&action=remove&ids="+
+ var query = "?op=pref-feeds&method=removeCat&ids="+
param_escape(id);
notify_progress("Removing category...");
@@ -1201,7 +1201,7 @@ function createCategory() {
notify_progress("Creating category...");
- var query = "?op=pref-feeds&method=editCats&action=add&cat=" +
+ var query = "?op=pref-feeds&method=addCat&cat=" +
param_escape(title);
new Ajax.Request("backend.php", {