From 72e38bfe1faa57ec15068c5ac0e53a0d7a4dc8cf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Feb 2021 09:56:27 +0300 Subject: rework a few more dialogs to use App.dialogOf() --- js/Feeds.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'js') 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", -- cgit v1.2.3-54-g00ecf