add:   gDownloadsView.clearSelection(); var rowCount = gDownloadsView.getRowCount(); if (selectedIndex >= rowCount) gDownloadsView.selectedIndex = rowCount - 1; else gDownloadsView.selectedIndex = selectedIndex; 
context: function onDownloadResume(aEvent){  gDownloadManager.resumeDownload(aEvent.target.id);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f8ad8c3f24813ad7dab56a0fb0631d87c0fc5ab5/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js