rem: document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "label", "Last "+getDayOfWeek( dayNumber )+" of the month" ); 
add: document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "label", document.getElementById( "last-text" ).getAttribute( "value" )+getDayOfWeek( dayNumber )+document.getElementById( "ofthemonth-text" ).getAttribute( "value" ) ); 
context: function updateAdvancedRepeatDayOfMonth(){   //get the day number for today.   var startTime = getDateTimeFieldValue( "start-date-text" );      var dayNumber = startTime.getDate();   var dayExtension = getDayExtension( dayNumber );   var weekNumber = getWeekNumberOfMonth();   document.getElementById( "advanced-repeat-dayofmonth" ).setAttribute( "label", "On the "+dayNumber+dayExtension+" of the month" );      if( weekNumber == 4 && isLastDayOfWeekOfMonth() )   {      //enable      document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( weekNumber )+" "+getDayOfWeek( dayNumber )+" of the month" );      document.getElementById( "advanced-repeat-dayofweek-last" ).removeAttribute( "collapsed" );      document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "label", "Last "+getDayOfWeek( dayNumber )+" of the month" );   }   else if( weekNumber == 4 && !isLastDayOfWeekOfMonth() )   {      document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( weekNumber )+" "+getDayOfWeek( dayNumber )+" of the month" );      document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "collapsed", "true" );   }   else   {      //disable      document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "collapsed", "true" );      document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "label", "Last "+getDayOfWeek( dayNumber )+" of the month" );   }   }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e016f4a851141fda6b68882903994e3fc876a2dd/calendarEventDialog.js/buggy/calendar/resources/content/calendarEventDialog.js