rem: gEventBeingDragged.start.setTime( newStartDate.getTime() ); gEventBeingDragged.end.setTime( newEndDate ); 
add: gEventBeingDragged.start.setTime( newStartDate.getTime() ); gEventBeingDragged.end.setTime( newEndDate );  if( gEventBeingDragged.recurWeekdays > 0 ) {  if( Difference < 0 ) Difference += 7; 
context:   onDrop: function (evt,dropdata,session){      //get the date of the current event box.      //dump( "\n\nDROP EVNET->\n"+gEventBeingDragged.start );      var newDay = gBoxBeingDroppedOn.dayNumber;      if( newDay == null )         return;      var OldStartDate = new Date( gEventBeingDragged.start.getTime() );      var newStartDate = new Date( OldStartDate.getTime() );      newStartDate.setDate( newDay );            var Difference = newStartDate.getTime() - OldStartDate.getTime();      var oldEndDate = new Date( gEventBeingDragged.end.getTime() );      var newEndDate = oldEndDate.getTime() + Difference;      gEventBeingDragged.start.setTime( newStartDate.getTime() );      gEventBeingDragged.end.setTime( newEndDate );      //edit the event being dragged to change its start and end date      //don't change the start and end time though.      gICalLib.modifyEvent( gEventBeingDragged, gEventBeingDragged.parent.server );            //refresh the view  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c1a9504fb382eebb83b20b53733ec87abbbbfe30/monthView.js/buggy/calendar/resources/content/monthView.js