mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:55:55 +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 {
|
try {
|
||||||
var query = "backend.php?op=dlg&method=quickAddFeed";
|
var query = "backend.php?op=dlg&method=quickAddFeed";
|
||||||
|
|
||||||
if (dijit.byId("feedAddDlg"))
|
// overlapping widgets
|
||||||
dijit.byId("feedAddDlg").destroyRecursive();
|
if (dijit.byId("batchSubDlg")) dijit.byId("batchSubDlg").destroyRecursive();
|
||||||
|
if (dijit.byId("feedAddDlg")) dijit.byId("feedAddDlg").destroyRecursive();
|
||||||
|
|
||||||
var dialog = new dijit.Dialog({
|
var dialog = new dijit.Dialog({
|
||||||
id: "feedAddDlg",
|
id: "feedAddDlg",
|
||||||
|
|||||||
@@ -2177,8 +2177,9 @@ function batchSubscribe() {
|
|||||||
try {
|
try {
|
||||||
var query = "backend.php?op=dlg&method=batchSubscribe";
|
var query = "backend.php?op=dlg&method=batchSubscribe";
|
||||||
|
|
||||||
if (dijit.byId("batchSubDlg"))
|
// overlapping widgets
|
||||||
dijit.byId("batchSubDlg").destroyRecursive();
|
if (dijit.byId("batchSubDlg")) dijit.byId("batchSubDlg").destroyRecursive();
|
||||||
|
if (dijit.byId("feedAddDlg")) dijit.byId("feedAddDlg").destroyRecursive();
|
||||||
|
|
||||||
var dialog = new dijit.Dialog({
|
var dialog = new dijit.Dialog({
|
||||||
id: "batchSubDlg",
|
id: "batchSubDlg",
|
||||||
|
|||||||
Reference in New Issue
Block a user