mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #2029 - Part 2: Protocol handling dialog should be dependent if not modal
Following the behavior of the download dialog, the content handling dialog should be `dependent` as well. This means that this dialog should close when the parent window is closed, is not visible on the taskbar, and stays in front of the parent window.
This commit is contained in:
parent
36ddeff63c
commit
bbd05cb4c8
1 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,8 @@ nsContentDispatchChooser.prototype =
|
|||
var features = "chrome,dialog=yes,resizable,centerscreen";
|
||||
if (Services.prefs.getBoolPref("prompts.content_handling_dialog_modal.enabled")) {
|
||||
features += ",modal";
|
||||
} else {
|
||||
features += ",dependent";
|
||||
}
|
||||
|
||||
var ww = Cc["@mozilla.org/embedcomp/window-watcher;1"].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue