mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:05:56 +00:00
fix batchSubDlg and feedAddDlg not working properly if invoked one after another because of overlapping widgets
This commit is contained in:
@@ -838,8 +838,9 @@ function quickAddFeed() {
|
||||
try {
|
||||
var query = "backend.php?op=dlg&method=quickAddFeed";
|
||||
|
||||
if (dijit.byId("feedAddDlg"))
|
||||
dijit.byId("feedAddDlg").destroyRecursive();
|
||||
// overlapping widgets
|
||||
if (dijit.byId("batchSubDlg")) dijit.byId("batchSubDlg").destroyRecursive();
|
||||
if (dijit.byId("feedAddDlg")) dijit.byId("feedAddDlg").destroyRecursive();
|
||||
|
||||
var dialog = new dijit.Dialog({
|
||||
id: "feedAddDlg",
|
||||
|
||||
@@ -2177,8 +2177,9 @@ function batchSubscribe() {
|
||||
try {
|
||||
var query = "backend.php?op=dlg&method=batchSubscribe";
|
||||
|
||||
if (dijit.byId("batchSubDlg"))
|
||||
dijit.byId("batchSubDlg").destroyRecursive();
|
||||
// overlapping widgets
|
||||
if (dijit.byId("batchSubDlg")) dijit.byId("batchSubDlg").destroyRecursive();
|
||||
if (dijit.byId("feedAddDlg")) dijit.byId("feedAddDlg").destroyRecursive();
|
||||
|
||||
var dialog = new dijit.Dialog({
|
||||
id: "batchSubDlg",
|
||||
|
||||
Reference in New Issue
Block a user