mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1043000 - dismiss error notification before trying to connect. r=jryans
This commit is contained in:
parent
bbd449052e
commit
a75d4f3e3d
@ -272,6 +272,11 @@ let UI = {
|
||||
nbox.PRIORITY_WARNING_LOW, buttons);
|
||||
},
|
||||
|
||||
dismissErrorNotification: function() {
|
||||
let nbox = document.querySelector("#notificationbox");
|
||||
nbox.removeAllNotifications(true);
|
||||
},
|
||||
|
||||
/********** RUNTIME **********/
|
||||
|
||||
updateRuntimeList: function() {
|
||||
@ -326,6 +331,7 @@ let UI = {
|
||||
let r = runtime;
|
||||
panelItemNode.addEventListener("click", () => {
|
||||
this.hidePanels();
|
||||
this.dismissErrorNotification();
|
||||
this.connectToRuntime(r);
|
||||
}, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user