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

update floating title in toggleUnread functions post-xhr

This commit is contained in:
Andrew Dolgov
2018-12-06 20:38:55 +03:00
parent db3c7d2050
commit 7805b291b6

View File

@@ -441,6 +441,7 @@ define(["dojo/_base/declare"], function (declare) {
xhrPost("backend.php", query, (transport) => { xhrPost("backend.php", query, (transport) => {
App.handleRpcJson(transport); App.handleRpcJson(transport);
if (callback) callback(transport); if (callback) callback(transport);
Headlines.updateFloatingTitle(true);
}); });
}, },
selectionToggleMarked: function (ids) { selectionToggleMarked: function (ids) {
@@ -635,6 +636,7 @@ define(["dojo/_base/declare"], function (declare) {
xhrPost("backend.php", xhrPost("backend.php",
{op: "rpc", method: "catchupSelected", cmode: cmode, ids: id}, (transport) => { {op: "rpc", method: "catchupSelected", cmode: cmode, ids: id}, (transport) => {
App.handleRpcJson(transport); App.handleRpcJson(transport);
Headlines.updateFloatingTitle(true);
}); });
} }
}, },