rem: goSetCommandEnabled('cmd_SortByPhone', oneAddressBookSelected); 
add: goSetCommandEnabled('cmd_SortByWorkPhone', oneAddressBookSelected); goSetCommandEnabled('cmd_SortByOrganization', oneAddressBookSelected); 
context: function CommandUpdate_AddressBook(){	goUpdateCommand('button_delete');		// get selection info from dir pane	var tree = document.getElementById('dirTree');	var oneAddressBookSelected = false;	if ( tree && tree.selectedItems && (tree.selectedItems.length == 1) )		oneAddressBookSelected = true;			// get selection info from results pane	var selectedCards = GetSelectedAddresses();	var oneOrMoreCardsSelected = false;	if ( selectedCards )		oneOrMoreCardsSelected = true;		// set commands to enabled / disabled	goSetCommandEnabled('cmd_PrintCard', oneOrMoreCardsSelected);	goSetCommandEnabled('cmd_SortByName', oneAddressBookSelected);	goSetCommandEnabled('cmd_SortByEmail', oneAddressBookSelected);	goSetCommandEnabled('cmd_SortByPhone', oneAddressBookSelected);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/153bbc5f081bb6fa737a46d988ccc2d2895e15c0/addressbook.js/clean/mailnews/addrbook/resources/content/addressbook.js