fix for dialogs not being disposed properly
This commit is contained in:
parent
db34e084e7
commit
457d48499a
1 changed files with 4 additions and 5 deletions
|
@ -408,11 +408,6 @@ function displayDlg(id, param, callback) {
|
|||
|
||||
notify_progress("Loading, please wait...", true);
|
||||
|
||||
if (dijit.byId("infoBox")) {
|
||||
dialogs.pop();
|
||||
dijit.byId("infoBox").destroy();
|
||||
}
|
||||
|
||||
var query = "?op=dlg&id=" +
|
||||
param_escape(id) + "¶m=" + param_escape(param);
|
||||
|
||||
|
@ -443,6 +438,10 @@ function infobox_submit_callback2(transport) {
|
|||
|
||||
function infobox_callback2(transport) {
|
||||
try {
|
||||
if (dijit.byId("infoBox")) {
|
||||
dialogs.pop();
|
||||
dijit.byId("infoBox").destroy();
|
||||
}
|
||||
|
||||
//console.log("infobox_callback2");
|
||||
notify('');
|
||||
|
|
Loading…
Reference in a new issue