rem:  dump( "\nIn Multiweek view, on selection changed : " + EventSelectionArray.length ); 
context:       onSelectionChanged : function( EventSelectionArray )      {                  dump( "\nIn Multiweek view, on selection changed : " + EventSelectionArray.length );          if( EventSelectionArray.length > 0 )         {            setTimeout( "gCalendarWindow.multiweekView.clearSelectedDate();", 1 );            //dump( "\nIn Multiweek view, eventSelectionArray.length is "+EventSelectionArray.length );            var i = 0;                        for( i = 0; i < EventSelectionArray.length; i++ )            {	      //dump( "\nin Multiweek view, going to try and get the event boxes with name 'multiweek-view-event-box-"+EventSelectionArray[i].id+"'" );	      //dump( "\nin Multiweek view, going to try and get"+EventSelectionArray[i].due+"'" );               if( EventSelectionArray[i].due ) 		 {		   var EventBoxes = document.getElementsByAttribute( "name", "multiweek-view-todo-box-"+EventSelectionArray[i].id );		   		 }	       else		 {		   var EventBoxes = document.getElementsByAttribute( "name", "multiweek-view-event-box-"+EventSelectionArray[i].id );		 }               //dump( "\nIn Multiweek 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 Multiweek View" );         }         else         {            //select the proper day            gCalendarWindow.multiweekView.hiliteSelectedDate();         }      }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9227b65a1bb031e8cf298cf85edd75eed18fde3b/multiweekView.js/buggy/calendar/resources/content/multiweekView.js