mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 14:54:25 +00: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:
@@ -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"].
|
||||
|
||||
Reference in New Issue
Block a user