rem: dump("oneAddressBookSelected = " + oneAddressBookSelected + "\n"); 
context: function CommandUpdate_AddressBook(){	dump("CommandUpdate_AddressBook\n");		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;	dump("oneAddressBookSelected = " + oneAddressBookSelected + "\n");			// 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/a5d1a0713b440046f959f7a40cb424e47b33989a/addressbook.js/buggy/mailnews/addrbook/resources/content/addressbook.js