rem: directoriesList.removeAttribute("disabled"); directoriesListPopup.removeAttribute("disabled"); editButton.removeAttribute("disabled"); 
add:  if (overrideGlobalPref.getAttribute("disabled") != "true") { directoriesList.removeAttribute("disabled"); directoriesListPopup.removeAttribute("disabled"); editButton.removeAttribute("disabled"); } 
context: function enabling(){  var autocomplete = document.getElementById("ldapAutocomplete");  var directoriesList =  document.getElementById("directoriesList");   var directoriesListPopup = document.getElementById("directoriesListPopup");  var editButton = document.getElementById("editButton");  switch(autocomplete.selectedItem.value)  {    case "0":      directoriesList.setAttribute("disabled", true);      directoriesListPopup.setAttribute("disabled", true);      editButton.setAttribute("disabled", true);      break;    case "1":      directoriesList.removeAttribute("disabled");      directoriesListPopup.removeAttribute("disabled");      editButton.removeAttribute("disabled");      break;        }  gFromGlobalPref = false;  LoadDirectories(directoriesListPopup);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c8b9003438c94e8734f641e1963c1743b5539ba8/am-addressing.js/clean/mailnews/base/prefs/resources/content/am-addressing.js