context:       onSelectionChanged : function( EventSelectionArray )      {         //dump( "\nIn Month view, on selection changed");         if( EventSelectionArray.length > 0 )         {            //if there are selected events.            gCalendarWindow.monthView.clearSelectedDate();            gCalendarWindow.monthView.clearSelectedBoxes();                        //dump( "\nIn Month view, eventSelectionArray.length is "+EventSelectionArray.length );            var i = 0;            for( i = 0; i < EventSelectionArray.length; i++ )            {               //dump( "\nin Month view, going to try and get the event boxes with name 'month-view-event-box-"+EventSelectionArray[i].id+"'" );               var EventBoxes = document.getElementsByAttribute( "name", "month-view-event-box-"+EventSelectionArray[i].id );               //dump( "\nIn Month view, found "+EventBoxes.length+" matches for the selected event." );               for ( j = 0; j < EventBoxes.length; j++ )                {                  EventBoxes[j].setAttribute( "eventselected", "true" );               }            }            //dump( "\nAll Done in Selection for Month View" );         }         else         {            //select the proper day            gCalendarWindow.monthView.hiliteSelectedDate();         }      }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4d78722eeea742d092eec5e5af01833f8ba4dd7b/monthView.js/clean/calendar/resources/content/monthView.js