mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 391866 - after remove, the next file isn't highlighted (new DM). r=sdwilsh
This commit is contained in:
parent
259a1968be
commit
43d5a26c6a
@ -216,7 +216,9 @@ function resumeDownload(aDownload)
|
||||
function removeDownload(aDownload)
|
||||
{
|
||||
gDownloadManager.removeDownload(aDownload.getAttribute("dlid"));
|
||||
var newIndex = Math.max(gDownloadsView.selectedIndex - 1, 0);
|
||||
gDownloadsView.removeChild(aDownload);
|
||||
gDownloadsView.selectedIndex = newIndex;
|
||||
}
|
||||
|
||||
function showDownload(aDownload)
|
||||
|
Loading…
Reference in New Issue
Block a user