mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:25:56 +00:00
migrate xhrJson invocations to the new helper
This commit is contained in:
@@ -10,7 +10,7 @@ Plugins.Share = {
|
||||
|
||||
Notify.progress("Trying to change URL...", true);
|
||||
|
||||
xhrJson("backend.php", App.getPhArgs("share", "newkey", {id: id}), (reply) => {
|
||||
xhr.json("backend.php", App.getPhArgs("share", "newkey", {id: id}), (reply) => {
|
||||
if (reply) {
|
||||
const new_link = reply.link;
|
||||
const target = dialog.domNode.querySelector(".target-url");
|
||||
|
||||
Reference in New Issue
Block a user