Bug 526921: add-ons get installed before user confirmation [r=mark.finkle]

This commit is contained in:
Fabrice Desré 2009-11-20 12:35:01 -05:00
parent 1a617f7e2f
commit 30f1367a01

View File

@ -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>