fix for dialogs not being disposed properly

This commit is contained in:
Andrew Dolgov 2010-11-16 16:47:56 +03:00
parent db34e084e7
commit 457d48499a

View file

@ -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) + "&param=" + 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('');