1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:55:55 +00:00

rpc: move setScore to article

This commit is contained in:
Andrew Dolgov
2013-04-02 14:41:41 +04:00
parent 8956b3a607
commit d719b06240
3 changed files with 13 additions and 13 deletions

View File

@@ -2020,7 +2020,7 @@ function setSelectionScore() {
var score = prompt(__("Please enter new score for selected articles:"), score);
if (score != undefined) {
var query = "op=rpc&method=setScore&id=" + param_escape(ids.toString()) +
var query = "op=article&method=setScore&id=" + param_escape(ids.toString()) +
"&score=" + param_escape(score);
new Ajax.Request("backend.php", {
@@ -2063,7 +2063,7 @@ function changeScore(id, pic) {
if (new_score != undefined) {
var query = "op=rpc&method=setScore&id=" + param_escape(id) +
var query = "op=article&method=setScore&id=" + param_escape(id) +
"&score=" + param_escape(new_score);
new Ajax.Request("backend.php", {