mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 734714 - Some prompts broken: 'aDomWin is null' in prompt service r=wesj
This commit is contained in:
parent
f58a156eed
commit
db28b94c89
@ -156,7 +156,8 @@ Prompt.prototype = {
|
||||
if (aCheckMsg)
|
||||
aInputs.push({ type: "checkbox", label: PromptUtils.cleanUpLabel(aCheckMsg), checked: aCheckState.value });
|
||||
|
||||
PromptUtils.fireDialogEvent(this._domWin, "DOMWillOpenModalDialog");
|
||||
if (this._domWin)
|
||||
PromptUtils.fireDialogEvent(this._domWin, "DOMWillOpenModalDialog");
|
||||
|
||||
let msg = { type: "Prompt:Show" };
|
||||
if (aTitle) msg.title = aTitle;
|
||||
|
Loading…
Reference in New Issue
Block a user