rem: if( alarmCheckBox.checked ) 
add: if( getFieldValue( alarmCheckBox, "checked" ) ) 
context: function updateAlarmEmailItemEnabled(){   var alarmCheckBox = document.getElementById( "alarm-email-checkbox" );      var alarmEmailField = document.getElementById( "alarm-email-field" );         if( alarmCheckBox.checked )   {      // call remove attribute beacuse some widget code checks for the presense of a       // disabled attribute, not the value.            alarmEmailField.removeAttribute( "disabled" );   }   else   {      alarmEmailField.setAttribute( "disabled", "true" );   }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e73ed928b8f708de374b049a8af1563244bd627c/eventDialog.js/buggy/calendar/resources/content/eventDialog.js