rem: var bucketTree = document.getElementById("addressBucket"); var removeButton = document.getElementById("remove");  if (removeButton && bucketTree && bucketTree.selectedItems && bucketTree.selectedItems.length) removeButton.removeAttribute("disabled"); else removeButton.setAttribute("disabled", "true"); 
add: var bucketTree = document.getElementById("addressBucket"); var removeButton = document.getElementById("remove");  if (removeButton && bucketTree && bucketTree.selectedItems && bucketTree.selectedItems.length) removeButton.removeAttribute("disabled"); else removeButton.setAttribute("disabled", "true"); 
context: function DialogBucketPaneSelectionChanged(){	var bucketTree = document.getElementById("addressBucket");	var removeButton = document.getElementById("remove");		if (removeButton && bucketTree && bucketTree.selectedItems && bucketTree.selectedItems.length)		removeButton.removeAttribute("disabled");	else 		removeButton.setAttribute("disabled", "true");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/abSelectAddressesDialog.js/clean/mailnews/addrbook/resources/content/abSelectAddressesDialog.js