context:       onSelectionChanged : function( EventSelectionArray )      {          if( EventSelectionArray.length > 0 )          {             //if there are selected events.             //for some reason, this function causes the tree to go into a select / unselect loop             //putting it in a settimeout fixes this.             setTimeout( "gCalendarWindow.weekView.clearSelectedDate();", 1 );             var i = 0;             for( i = 0; i < EventSelectionArray.length; i++ )             {                 gCalendarWindow.weekView.selectBoxForEvent( EventSelectionArray[i] );             }          }          else          {             //select the proper day             gCalendarWindow.weekView.hiliteSelectedDate();          }      }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/02b1c0215ed237e27d786567d07983ee6048a41e/weekView.js/clean/calendar/resources/content/weekView.js