rem: if (isLocked) setEnabled(pageElements[i],false); 
add: setEnabled(pageElements[i],!isLocked); 
context: function restorePage(pageId, serverId) {  if (!serverId) return;  var accountValues = getValueArrayFor(serverId);  var pageElements = getPageFormElements();  if (pageElements == null) return;  var account = getAccountFromServerId(serverId);  if (top.frames["contentFrame"].onPreInit)    top.frames["contentFrame"].onPreInit(account, accountValues);  // restore the value from the account  for (var i=0; i<pageElements.length; i++) {      if (pageElements[i].id) {        var vals = pageElements[i].id.split(".");        var type = vals[0];        var slot = vals[1];      // buttons are lockable, but don't have any data so we skip that part.      // elements that do have data, we get the values at poke them in.      if (pageElements[i].localName != "button") {        var value = getAccountValue(account, accountValues, type, slot);        setFormElementValue(pageElements[i], value);      }        updateElementWithKeys(account,pageElements[i],type);        var isLocked = getAccountValueIsLocked(pageElements[i]);        if (isLocked)          setEnabled(pageElements[i],false);      }  }  // tell the page that new values have been loaded  if (top.frames["contentFrame"].onInit)      top.frames["contentFrame"].onInit();  // everything has succeeded, vervied by setting currentPageId  currentPageId = pageId;  currentServerId = serverId;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/efe9ab34a1e3290918d15b95072c5eebdf7afef0/AccountManager.js/clean/mailnews/base/prefs/resources/content/AccountManager.js