diff options
author | Andrew Dolgov <[email protected]> | 2018-12-02 20:56:30 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-02 20:56:30 +0300 |
commit | 526389b2d380177490605037fdc3a24ebc688fac (patch) | |
tree | 65d79cebf0811e8927efeffac9f1e11b4552a63f /js/Feeds.js | |
parent | 495248dd9783985750591c050d055ac4c2cf1712 (diff) |
update notify_* calls to use Notify
Diffstat (limited to 'js/Feeds.js')
-rw-r--r-- | js/Feeds.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Feeds.js b/js/Feeds.js index 678b42f9d..8b6f6a707 100644 --- a/js/Feeds.js +++ b/js/Feeds.js @@ -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); |