1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 12:47:38 +00:00

rpc: move labelops to article

This commit is contained in:
Andrew Dolgov
2013-04-02 14:56:08 +04:00
parent 9c96a3e28c
commit 4b7726f0b4
3 changed files with 44 additions and 43 deletions

View File

@@ -678,7 +678,7 @@ function selectionRemoveLabel(id, ids) {
return;
}
var query = "?op=rpc&method=removeFromLabel&ids=" +
var query = "?op=article&method=removeFromLabel&ids=" +
param_escape(ids.toString()) + "&lid=" + param_escape(id);
console.log(query);
@@ -706,7 +706,7 @@ function selectionAssignLabel(id, ids) {
return;
}
var query = "?op=rpc&method=assignToLabel&ids=" +
var query = "?op=article&method=assignToLabel&ids=" +
param_escape(ids.toString()) + "&lid=" + param_escape(id);
console.log(query);