rem: repeatEndText.setAttribute( "disabled", "true" ); 
add: numberTextBox.setAttribute( "disabled", "true" ); }  var untilRadio = document.getElementById( "repeat-until-radio" ); var untilPicker = document.getElementById( "repeat-end-date-picker" );  if( repeatCheckBox.checked && untilRadio.selected  ) { untilPicker.removeAttribute( "disabled"  ); } else { untilPicker.setAttribute( "disabled", "true" ); 
context: function updateUntilItemEnabled(){   var repeatUntilRadio = document.getElementById( "repeat-until-radio" );   var repeatCheckBox = document.getElementById( "repeat-checkbox" );      var repeatEndText = document.getElementById( "repeat-end-date-picker" );      if( repeatCheckBox.checked && repeatUntilRadio.selected  )   {      repeatEndText.removeAttribute( "disabled"  );   }   else   {      repeatEndText.setAttribute( "disabled", "true" );   }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2628259213b3ce959d2cb84f2350cbccd58d0f79/toDoDialog.js/buggy/calendar/resources/content/toDoDialog.js