mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:45:56 +00:00
* OPML import: don't reload everything, just feed tree
* dialogs: use auto-destroying dialog for almost all dialogs instead of destroying them manually * some general dialog-related cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* global __, define, lib, dijit, dojo, xhrPost, Notify */
|
||||
/* global __, define, lib, dijit, dojo, xhrPost, Notify, fox */
|
||||
|
||||
define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/form/DropDownButton"], function (declare, domConstruct) {
|
||||
|
||||
@@ -62,10 +62,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/f
|
||||
const query = "backend.php?op=pref-labels&method=edit&id=" +
|
||||
encodeURIComponent(id);
|
||||
|
||||
if (dijit.byId("labelEditDlg"))
|
||||
dijit.byId("labelEditDlg").destroyRecursive();
|
||||
|
||||
const dialog = new dijit.Dialog({
|
||||
const dialog = new fox.SingleUseDialog({
|
||||
id: "labelEditDlg",
|
||||
title: __("Label Editor"),
|
||||
style: "width: 650px",
|
||||
|
||||
Reference in New Issue
Block a user