rem: case "2": var timeoutField = document.getElementById("passwordTimeout"); 
add: case "2": timeoutField.removeAttribute("disabled"); timeoutField.focus(); 
context: function changePasswordSettings(){  var askTimes = 0;  var timeout = internal_token.getAskPasswordTimeout();  var radiogroup = document.getElementById("passwordAskTimes");  switch ( radiogroup.value ) {  case "0":     askTimes = nsIPK11Token.ASK_FIRST_TIME;    break;  case "1":     askTimes = nsIPK11Token.ASK_EVERY_TIME;    break;  case "2":     var timeoutField = document.getElementById("passwordTimeout");    timeout = timeoutField.value;    var re = new RegExp("^[0-9]+$");    if (!re.test(timeout)) {      timeout = "0";    }    askTimes = nsIPK11Token.ASK_EXPIRE_TIME;    break;  }  internal_token.setAskPasswordDefaults(askTimes, timeout);}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/3e95b099e087178c9041d257a421023fec2f19e2/pref-masterpass.js/buggy/security/manager/pki/resources/content/pref-masterpass.js