summaryrefslogtreecommitdiff
path: root/js/PrefLabelTree.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-02 20:56:30 +0300
committerAndrew Dolgov <[email protected]>2018-12-02 20:56:30 +0300
commit526389b2d380177490605037fdc3a24ebc688fac (patch)
tree65d79cebf0811e8927efeffac9f1e11b4552a63f /js/PrefLabelTree.js
parent495248dd9783985750591c050d055ac4c2cf1712 (diff)
update notify_* calls to use Notify
Diffstat (limited to 'js/PrefLabelTree.js')
-rw-r--r--js/PrefLabelTree.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/PrefLabelTree.js b/js/PrefLabelTree.js
index abe79a114..f808e987b 100644
--- a/js/PrefLabelTree.js
+++ b/js/PrefLabelTree.js
@@ -51,7 +51,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
reload: function() {
xhrPost("backend.php", { op: "pref-labels" }, (transport) => {
dijit.byId('labelConfigTab').attr('content', transport.responseText);
- notify("");
+ Notify.close();
});
},
editLabel: function(id) {
@@ -142,7 +142,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
if (sel_rows.length > 0) {
if (confirm(__("Remove selected labels?"))) {
- notify_progress("Removing selected labels...");
+ Notify.progress("Removing selected labels...");
const query = {
op: "pref-labels", method: "remove",