зеркало из https://github.com/mozilla/pjs.git
Bug 403412 - Download Manager window title fails to clear/update upon download completion. r=sdwilsh, a1.9=beltzner
This commit is contained in:
Родитель
31bc14fe74
Коммит
48c279cc6e
|
@ -60,6 +60,9 @@ DownloadProgressListener.prototype = {
|
|||
|
||||
onDownloadStateChange: function dlPL_onDownloadStateChange(aState, aDownload)
|
||||
{
|
||||
// Update window title in-case we don't get all progress notifications
|
||||
onUpdateProgress();
|
||||
|
||||
let state = aDownload.state;
|
||||
switch (state) {
|
||||
case nsIDM.DOWNLOAD_QUEUED:
|
||||
|
|
Загрузка…
Ссылка в новой задаче