Bug 403412 - Download Manager window title fails to clear/update upon download completion. r=sdwilsh, a1.9=beltzner

This commit is contained in:
edward.lee@engineering.uiuc.edu 2008-03-18 10:57:26 -07:00
Родитель 5d7f3c8860
Коммит 627c6d4cfe
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

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