mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 743227 - "Always show" does not display the popoups until a page reload. r=mbrubeck
This commit is contained in:
parent
3cd4cdb51d
commit
b16dc90dad
@ -3518,7 +3518,11 @@ var PopupBlockerObserver = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: strings.GetStringFromName("popupButtonAlwaysAllow2"),
|
label: strings.GetStringFromName("popupButtonAlwaysAllow2"),
|
||||||
callback: function() { PopupBlockerObserver.allowPopupsForSite(true); }
|
callback: function() {
|
||||||
|
// Set permission before opening popup windows
|
||||||
|
PopupBlockerObserver.allowPopupsForSite(true);
|
||||||
|
PopupBlockerObserver.showPopupsForSite();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: strings.GetStringFromName("popupButtonNeverWarn2"),
|
label: strings.GetStringFromName("popupButtonNeverWarn2"),
|
||||||
|
Loading…
Reference in New Issue
Block a user