forked from mirrors/gecko-dev
Bug 1842187 a=dmeehan
Original Revision: https://phabricator.services.mozilla.com/D223948 Differential Revision: https://phabricator.services.mozilla.com/D228631
This commit is contained in:
parent
92caec5173
commit
3c412e90e2
1 changed files with 4 additions and 1 deletions
|
|
@ -171,7 +171,10 @@ DownloadPrompter.prototype = {
|
|||
"download-ui-file-executable-security-warning",
|
||||
{ executable: PathUtils.filename(path) }
|
||||
);
|
||||
return this._prompter.confirm(title, message);
|
||||
let flags =
|
||||
Ci.nsIPrompt.BUTTON_DELAY_ENABLE | Ci.nsIPrompt.STD_OK_CANCEL_BUTTONS;
|
||||
let nulls = Array(4).fill(null);
|
||||
return 0 == this._prompter.confirmEx(title, message, flags, ...nulls, {});
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue