summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-12 09:56:27 +0300
committerAndrew Dolgov <[email protected]>2021-02-12 09:56:27 +0300
commit72e38bfe1faa57ec15068c5ac0e53a0d7a4dc8cf (patch)
treec50d5765f1b78a6aed54cf84894277c4cfe6f12b /js/Feeds.js
parentd466284fabe945dbc3c8034ac1468bf97b38ed94 (diff)
rework a few more dialogs to use App.dialogOf()
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 10677f641..45b8193e4 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -594,13 +594,12 @@ const Feeds = {
return tree.model.store.getValue(nuf, 'bare_id');
},
search: function() {
- if (dijit.byId("searchDlg"))
- dijit.byId("searchDlg").destroyRecursive();
-
xhrPost("backend.php",
{op: "feeds", method: "search",
param: Feeds.getActive() + ":" + Feeds.activeIsCat()},
(transport) => {
+ if (dijit.byId("searchDlg"))
+ dijit.byId("searchDlg").destroyRecursive();
const dialog = new dijit.Dialog({
id: "searchDlg",