add: sizeToContent(); 
context: function updateRepeatUnitExtensions( ){   var repeatMenu = document.getElementById( "repeat-length-units" );   var weekExtensions = document.getElementById( "repeat-extenstions-week" );   var monthExtensions = document.getElementById( "repeat-extenstions-month" );   //FIX ME! WHEN THE WINDOW LOADS, THIS DOESN'T EXIST   if( repeatMenu.selectedItem )   {      switch( repeatMenu.selectedItem.value )       {           case "days":               weekExtensions.setAttribute( "collapsed", "true" );               monthExtensions.setAttribute( "collapsed", "true" );           break;                      case "weeks":               weekExtensions.setAttribute( "collapsed", "false" );               monthExtensions.setAttribute( "collapsed", "true" );               updateAdvancedWeekRepeat();           break;                      case "months":               weekExtensions.setAttribute( "collapsed", "true" );               monthExtensions.setAttribute( "collapsed", "false" );               updateAdvancedRepeatDayOfMonth();           break;                      case "years":               weekExtensions.setAttribute( "collapsed", "true" );               monthExtensions.setAttribute( "collapsed", "true" );           break;              }   }   }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1f04e625dde0ffee78dc7d28a660ee6e18d7e9af/eventDialog.js/buggy/calendar/resources/content/eventDialog.js