mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-30 05:11:29 +00:00
rpc: move several feed-related calls to pref-feeds
This commit is contained in:
@@ -1357,7 +1357,7 @@ function genUrlChangeKey(feed, is_cat) {
|
||||
|
||||
notify_progress("Trying to change address...", true);
|
||||
|
||||
var query = "?op=rpc&method=regenFeedKey&id=" + param_escape(feed) +
|
||||
var query = "?op=pref-feeds&method=regenFeedKey&id=" + param_escape(feed) +
|
||||
"&is_cat=" + param_escape(is_cat);
|
||||
|
||||
new Ajax.Request("backend.php", {
|
||||
|
||||
@@ -1221,7 +1221,7 @@ function opmlRegenKey() {
|
||||
|
||||
notify_progress("Trying to change address...", true);
|
||||
|
||||
var query = "?op=rpc&method=regenOPMLKey";
|
||||
var query = "?op=pref-feeds&method=regenOPMLKey";
|
||||
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query,
|
||||
@@ -1521,7 +1521,7 @@ function clearFeedAccessKeys() {
|
||||
if (ok) {
|
||||
notify_progress("Clearing URLs...");
|
||||
|
||||
var query = "?op=rpc&method=clearKeys";
|
||||
var query = "?op=pref-feeds&method=clearKeys";
|
||||
|
||||
new Ajax.Request("backend.php", {
|
||||
parameters: query,
|
||||
|
||||
Reference in New Issue
Block a user