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

update notify_* calls to use Notify

This commit is contained in:
Andrew Dolgov
2018-12-02 20:56:30 +03:00
parent 495248dd97
commit 526389b2d3
28 changed files with 134 additions and 146 deletions

View File

@@ -357,7 +357,7 @@ define(["dojo/_base/declare"], function (declare) {
if (!delayed)
if (!this.setExpando(feed, is_cat,
(is_cat) ? 'images/indicator_tiny.gif' : 'images/indicator_white.gif'))
notify_progress("Loading, please wait...", true);
Notify.progress("Loading, please wait...", true);
query.cat = is_cat;
@@ -391,7 +391,7 @@ define(["dojo/_base/declare"], function (declare) {
if (getInitParam("confirm_feed_catchup") != 1 || confirm(str)) {
notify_progress("Marking all feeds as read...");
Notify.progress("Marking all feeds as read...");
xhrPost("backend.php", {op: "feeds", method: "catchupAll"}, () => {
this.requestCounters(true);
@@ -458,7 +458,7 @@ define(["dojo/_base/declare"], function (declare) {
search_lang: this.last_search_query[1]
};
notify_progress("Loading, please wait...", true);
Notify.progress("Loading, please wait...", true);
xhrPost("backend.php", catchup_query, (transport) => {
Utils.handleRpcJson(transport);
@@ -475,7 +475,7 @@ define(["dojo/_base/declare"], function (declare) {
this.reloadCurrent();
}
notify("");
Notify.close();
});
},
catchupCurrent: function(mode) {
@@ -517,7 +517,7 @@ define(["dojo/_base/declare"], function (declare) {
Headlines.updateFloatingTitle(true);
}
notify_progress("Loading, please wait...", true);
Notify.progress("Loading, please wait...", true);
xhrPost("backend.php", {op: "rpc", method: "catchupFeed", feed_id: id, is_cat: false}, (transport) => {
Utils.handleRpcJson(transport);