var dialog = dialogs.pop();
- if (dialog) {
- dialog.attr('content', '');
+ if (dialog)
dialog.hide();
- }
} catch (e) {
//exception_error("closeInfoBox", e);
notify_progress("Loading, please wait...", true);
- while (dialogs.length > 0)
- closeInfoBox();
+ if (dijit.byId("infoBox")) {
+ dialogs.pop();
+ dijit.byId("infoBox").destroy();
+ }
var query = "?op=dlg&id=" +
param_escape(id) + "¶m=" + param_escape(param);
var dialog = new dijit.Dialog({
title: title,
+ id: 'infoBox',
style: "width: 600px",
onCancel: function() {
dialogs.remove(this);
- this.attr('content', '');
return true;
},
onExecute: function() {
dialogs.remove(this);
- this.attr('content', '');
return true;
},
onClose: function() {
dialogs.remove(this);
- this.attr('content', '');
return true;
},
content: content});