add: document.getElementById("moveTargetMode1").disabled = !enabled || (choice == 0); 
context: function conditionallyEnableUI(id){  if (!document.getElementById("level").checked) {    document.getElementById("useWhiteList").disabled = true;    document.getElementById("whiteListAbURI").disabled = true;    document.getElementById("moveOnSpam").disabled = true;    document.getElementById("moveTargetMode0").disabled = true;    document.getElementById("actionTargetAccount").disabled = true;    document.getElementById("moveTargetMode1").disabled = true;    document.getElementById("actionTargetFolder").disabled = true;    document.getElementById("purge").disabled = true;    document.getElementById("purgeInterval").disabled = true;    document.getElementById("purgeLabel").disabled = true;    return;  }  document.getElementById("useWhiteList").disabled = false;  document.getElementById("moveOnSpam").disabled = false;  var enabled;  if (!id || id == "moveOnSpam") {    enabled = document.getElementById("moveOnSpam").checked;    var choice = document.getElementById("moveTargetMode").selectedItem.getAttribute("value");     document.getElementById("actionTargetAccount").disabled = !enabled || (choice == 1);    document.getElementById("actionTargetFolder").disabled = !enabled || (choice == 0);    var checked = document.getElementById("purge").checked;    document.getElementById("purge").disabled = !enabled;    document.getElementById("purgeInterval").disabled = !enabled || !checked;    document.getElementById("purgeLabel").disabled = !enabled || !checked;  }  if (!id || id == "purge") {    enabled = document.getElementById("purge").checked;    document.getElementById("purgeInterval").disabled = !enabled;    document.getElementById("purgeLabel").disabled = !enabled;  }  if (!id || id == "useWhiteList") {    enabled = document.getElementById("useWhiteList").checked;    document.getElementById("whiteListAbURI").disabled = !enabled;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e4c461c32897c3bdf862531d6b76ba931ad95639/junkMail.js/clean/mailnews/base/resources/content/junkMail.js