mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 850398 - Buttons on Metro pop-up blocker notification are broken [r=rsilveira]
--HG-- extra : rebase_source : f38b06d4bfc4251596bc2da918d33453f965863c
This commit is contained in:
parent
9e9b087e6f
commit
fa8a4d6dc7
@ -1233,7 +1233,7 @@ var PopupBlockerObserver = {
|
||||
case "mousedown":
|
||||
let box = Browser.getNotificationBox();
|
||||
let notification = box.getNotificationWithValue("popup-blocked");
|
||||
if (notification)
|
||||
if (notification && !notification.contains(aEvent.target))
|
||||
box.removeNotification(notification);
|
||||
break;
|
||||
}
|
||||
@ -1276,17 +1276,17 @@ var PopupBlockerObserver = {
|
||||
{
|
||||
isDefault: false,
|
||||
label: strings.GetStringFromName("popupButtonAllowOnce2"),
|
||||
accessKey: null,
|
||||
accessKey: "",
|
||||
callback: function() { PopupBlockerObserver.showPopupsForSite(); }
|
||||
},
|
||||
{
|
||||
label: strings.GetStringFromName("popupButtonAlwaysAllow3"),
|
||||
accessKey: null,
|
||||
accessKey: "",
|
||||
callback: function() { PopupBlockerObserver.allowPopupsForSite(true); }
|
||||
},
|
||||
{
|
||||
label: strings.GetStringFromName("popupButtonNeverWarn3"),
|
||||
accessKey: null,
|
||||
accessKey: "",
|
||||
callback: function() { PopupBlockerObserver.allowPopupsForSite(false); }
|
||||
}
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user