Fixing bug 177299, don't change view if multiple day event is visible.

This commit is contained in:
mikep%oeone.com 2002-10-30 18:41:36 +00:00
Родитель 34da6f8b45
Коммит aeff8f0f58
7 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -554,7 +554,7 @@ DayView.prototype.getVisibleEvent = function dayview_getVisibleEvent( calendarEv
return eventBox;
}
else
return null;
return false;
}

Просмотреть файл

@ -831,7 +831,7 @@ MonthView.prototype.getVisibleEvent = function monthView_getVisibleEvent( calend
return eventBox;
}
else
return null;
return false;
}
MonthView.prototype.selectBoxForEvent = function monthView_selectBoxForEvent( calendarEvent )

Просмотреть файл

@ -604,7 +604,7 @@ WeekView.prototype.getVisibleEvent = function( calendarEvent )
return eventBox;
}
else
return null;
return false;
}

Просмотреть файл

@ -554,7 +554,7 @@ DayView.prototype.getVisibleEvent = function dayview_getVisibleEvent( calendarEv
return eventBox;
}
else
return null;
return false;
}

Просмотреть файл

@ -831,7 +831,7 @@ MonthView.prototype.getVisibleEvent = function monthView_getVisibleEvent( calend
return eventBox;
}
else
return null;
return false;
}
MonthView.prototype.selectBoxForEvent = function monthView_selectBoxForEvent( calendarEvent )

Просмотреть файл

@ -324,7 +324,8 @@ function unifinderOnSelect( event )
var eventStartDate = getNextOrPreviousRecurrence( calendarEvent );
/* you need this in case the current day is not visible. */
gCalendarWindow.currentView.goToDay( eventStartDate, true);
if( gCalendarWindow.currentView.getVisibleEvent( calendarEvent ) == false )
gCalendarWindow.currentView.goToDay( eventStartDate, true);
}
gCalendarWindow.EventSelection.setArrayToSelection( ArrayOfEvents );

Просмотреть файл

@ -604,7 +604,7 @@ WeekView.prototype.getVisibleEvent = function( calendarEvent )
return eventBox;
}
else
return null;
return false;
}