rem: if (gTree.selectedItems && gTree.selectedItems[0]) { var uri = gTree.selectedItems[0].id; 
add: if (gList.selectedItems && gList.selectedItems[0]) { var uri = gList.selectedItems[0].id; 
context: function editType(){  if (gTree.selectedItems && gTree.selectedItems[0]) {    var uri = gTree.selectedItems[0].id;    var handlerOverride = new HandlerOverride(uri);    window.openDialog("chrome://communicator/content/pref/pref-applications-edit.xul", "appEdit", "chrome,modal=yes,resizable=no", handlerOverride);    selectApplication();  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1e2d5d9ba4147d5ea3cc58789a6ba7f2426d0695/pref-applications.js/buggy/suite/common/pref/pref-applications.js