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
1 changed files with 2 additions and 0 deletions

View File

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