mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 526921: add-ons get installed before user confirmation [r=mark.finkle]
This commit is contained in:
parent
1a617f7e2f
commit
30f1367a01
@ -41,8 +41,10 @@
|
||||
<method name="handleEvent">
|
||||
<parameter name="aEvent"/>
|
||||
<body>
|
||||
if (aEvent.type == "unload")
|
||||
<![CDATA[
|
||||
if (aEvent.originalTarget == document && aEvent.type == "unload")
|
||||
this._closed = true;
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user