rem: catch (ex) { var lString = bundle.GetStringFromName("deletefailed"); lString = lString.replace(/\s*<html:br\/>/g,"\n"); alert( lString ); } if( firstAdjacent ) profileTree.selectCell( firstAdjacent );  DoEnabling(); 
context: function DeleteProfile( deleteFiles ){  var profileTree = document.getElementById( "profiles" );  var profileKids = document.getElementById( "profilekids" )  var selected = profileTree.selectedItems[0];  var firstAdjacent = selected.previousSibling;  var name = selected.getAttribute( "rowName" );  try {    profile.deleteProfile( name, deleteFiles );    profileKids.removeChild( selected );  }  catch (ex) {    var lString = bundle.GetStringFromName("deletefailed");    lString = lString.replace(/\s*<html:br\/>/g,"\n");    alert( lString );  }  if( firstAdjacent )    profileTree.selectCell( firstAdjacent );  // set the button state  DoEnabling();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c3d226dd614523c02a17db9aeda8dbf37dc20661/profileManager.js/clean/profile/resources/content/profileManager.js