mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
Bug 666790 - addon download progress doorhanger has error when asking permission to install [r=gavin]
This commit is contained in:
parent
585a9bcb38
commit
a30b7f8b43
@ -1001,7 +1001,7 @@
|
||||
// undetermined state and then schedule a proper check at the next
|
||||
// opportunity
|
||||
this.setProgress(0, -1);
|
||||
setTimeout(this.updateProgress.bind(this), 0);
|
||||
this._updateProgressTimeout = setTimeout(this.updateProgress.bind(this), 0);
|
||||
]]></constructor>
|
||||
|
||||
<destructor><![CDATA[
|
||||
@ -1028,6 +1028,7 @@
|
||||
this.notification.options.installs.forEach(function(aInstall) {
|
||||
aInstall.removeListener(this);
|
||||
}, this);
|
||||
clearTimeout(this._updateProgressTimeout);
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user