rem: showPage(currentSelection.serverId, currentSelection.pageId); updateButtons(tree, currentSelection.serverId); 
add: if (showPage(currentSelection.serverId, currentSelection.pageId)) updateButtons(tree, currentSelection.serverId); 
context: function onAccountClick(tree){  var currentSelection = getServerIdAndPageIdFromTree(tree);  // Nothing is selected. This is the case when an account was removed.  // A call of selectServer(null,null) after the removal ensures that  // onAccountClick() is called again after that with a valid selection.  if (!currentSelection)    return;  showPage(currentSelection.serverId, currentSelection.pageId);  updateButtons(tree, currentSelection.serverId);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/075581d9e0e182f56913f96b1cdd1965e79ca163/AccountManager.js/buggy/mailnews/base/prefs/resources/content/AccountManager.js