diff options
author | Andrew Dolgov <[email protected]> | 2021-02-13 10:10:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-13 10:10:44 +0300 |
commit | eec5871f5f0de01e7a4bf5ba69c81315a8ea88e3 (patch) | |
tree | 928772498847fd9d87357a13f8c36e669f8b30ae /js/CommonFilters.js | |
parent | d3940b625962048b6a7f951ba76f872ce2c1f6d2 (diff) |
fail better if requested article URL is blank
Diffstat (limited to 'js/CommonFilters.js')
-rw-r--r-- | js/CommonFilters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/CommonFilters.js b/js/CommonFilters.js index 802cf478d..15403b8c4 100644 --- a/js/CommonFilters.js +++ b/js/CommonFilters.js @@ -332,7 +332,7 @@ const Filters = { } else { - const query = {op: "rpc", method: "getlinktitlebyid", id: Article.getActive()}; + const query = {op: "article", method: "get_metadata_by_id", id: Article.getActive()}; xhrPost("backend.php", query, (transport) => { const reply = JSON.parse(transport.responseText); |