add: if( !repeatCheckBox.checked ) { for( i = 0; i < 7; i++ ) { setFieldValue( "advanced-repeat-week-"+i, false, "checked" ); } }  
context: function updateAdvancedWeekRepeat(){   //get the day number for today.   var startTime = getDateTimeFieldValue( "start-date-text" );      var dayNumber = startTime.getDay();   //uncheck them all if the repeat checkbox is checked   var repeatCheckBox = document.getElementById( "repeat-checkbox" );      if( repeatCheckBox.checked )   {      //uncheck them all      for( var i = 0; i < 7; i++ )      {         setFieldValue( "advanced-repeat-week-"+i, false, "disabled" );               setFieldValue( "advanced-repeat-week-"+i, false, "today" );      }   }   setFieldValue( "advanced-repeat-week-"+dayNumber, "true", "checked" );   setFieldValue( "advanced-repeat-week-"+dayNumber, "true", "disabled" );   setFieldValue( "advanced-repeat-week-"+dayNumber, "true", "today" );}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEventDialog.js/clean/calendar/resources/content/calendarEventDialog.js