зеркало из https://github.com/mozilla/gecko-dev.git
Fixing problem with selecting events not showing in current view.
This commit is contained in:
Родитель
599ee29440
Коммит
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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче