Push_modal failure tentative two...

master
xSmurf 7 years ago
parent 875b7607d9
commit f6b8712712

@ -190,6 +190,12 @@ const FirewallPromptHandler = new Lang.Class({
onCloseDialog: function() { onCloseDialog: function() {
log("SGFW: Closed dialog"); log("SGFW: Closed dialog");
try {
this._dialog.close();
this._dialog.destroy();
} catch (err) {
log("SGFW: Unable to close/destroy modal...");
}
this._dialog = null; this._dialog = null;
if (this._dialogs.length > 0) { if (this._dialogs.length > 0) {
log("SGFW: Opening next dialogs (remaining: " + this._dialogs.length + ")"); log("SGFW: Opening next dialogs (remaining: " + this._dialogs.length + ")");

Loading…
Cancel
Save