rem: if (gDownloadView.getRowCount() && gDownloadView.selectedItems.length) gStatusBar.label = gDownloadView.selectedItems[0].id; 
add: if (gDownloadView.currentIndex >= 0) gStatusBar.label = getSelectedItem().id; 
context: function onSelect(aEvent) {  if (!gStatusBar)    gStatusBar = document.getElementById("statusbar-text");  if (gDownloadView.getRowCount() && gDownloadView.selectedItems.length)    gStatusBar.label = gDownloadView.selectedItems[0].id;  else    gStatusBar.label = "";  window.updateCommands("tree-select");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/07d96867f11683becf5e1a6ca5e64e6a9324c957/downloadmanager.js/clean/xpfe/components/download-manager/resources/downloadmanager.js