rem: return true; else return false; 
add: numSelected = resultsTree.selectedItems.length; if ( command == "cmd_delete" ) { if ( numSelected < 2 ) goSetMenuValue(command, 'valueCard'); else goSetMenuValue(command, 'valueCards'); } return ( numSelected > 0 ); 
context: 	isCommandEnabled: function(command)	{		dump('ResultsPaneController::isCommandEnabled(' + command + ')\n');		switch ( command )		{			case "cmd_selectAll":				return true;						case "cmd_delete":				var resultsTree = document.getElementById('resultsTree');				if ( resultsTree && resultsTree.selectedItems )					return true;				else					return false;						default:				return false;		}	},
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/af0cf70bfc84facd8974b93e761f3329cf863b3d/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js