1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 02:45:56 +00:00

fail better if requested article URL is blank

This commit is contained in:
Andrew Dolgov
2021-02-13 10:10:44 +03:00
parent d3940b6259
commit eec5871f5f
4 changed files with 27 additions and 24 deletions

View File

@@ -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);