rem: if (!gExtensionsView.selected) { 
add: if (!gExtensionsView.selectedItem) { 
context: function onThemeSelect(aEvent){  if (gWindowState != "themes")    return;  var previewImageDeck = document.getElementById("previewImageDeck");  if (!gExtensionsView.selected) {    previewImageDeck.setAttribute("selectedIndex", "0");    return;  }  var url = gExtensionsView.selected.getAttribute("previewImage");  if (url) {    previewImageDeck.setAttribute("selectedIndex", "2");    var previewImage = document.getElementById("previewImage");    previewImage.setAttribute("src", url);  }  else    previewImageDeck.setAttribute("selectedIndex", "1");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eeff8284185c873422464b5a58c40d3ccfca690c/extensions.js/clean/toolkit/mozapps/extensions/content/extensions.js