1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

rework a few more dialogs to use App.dialogOf()

This commit is contained in:
Andrew Dolgov
2021-02-12 09:56:27 +03:00
parent d466284fab
commit 72e38bfe1f
5 changed files with 14 additions and 16 deletions

View File

@@ -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",