mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Fixing problem with selecting events not showing in current view.
This commit is contained in:
parent
599ee29440
commit
fc06c5fed9
@ -116,6 +116,7 @@ CalendarEventSelection.prototype.setArrayToSelection = function calSel_setArrayT
|
||||
}
|
||||
|
||||
this.onSelectionChanged();
|
||||
|
||||
}
|
||||
|
||||
CalendarEventSelection.prototype.isSelectedEvent = function calSel_isSelectedEvent( Event )
|
||||
|
@ -263,8 +263,6 @@ function unifinderClickEvent( event )
|
||||
}
|
||||
}
|
||||
|
||||
gCalendarWindow.EventSelection.setArrayToSelection( ArrayOfEvents );
|
||||
|
||||
if( ArrayOfEvents.length == 1 )
|
||||
{
|
||||
/*start date is either the next or last occurence, or the start date of the event */
|
||||
@ -273,6 +271,8 @@ function unifinderClickEvent( event )
|
||||
/* you need this in case the current day is not visible. */
|
||||
gCalendarWindow.currentView.goToDay( eventStartDate, true);
|
||||
}
|
||||
|
||||
gCalendarWindow.EventSelection.setArrayToSelection( ArrayOfEvents );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user