}
// add end date
if (newEndDate != null) {
teamEventDO.setEndDate(new Timestamp(newEndTimeMillis));
}
final TeamEventEditPage teamEventEditPage = new TeamEventEditPage(new PageParameters(), teamEventDO);
teamEventEditPage.setReturnToPage(getWebPage());
setResponsePage(teamEventEditPage);
} else if (CalendarDropMode.MOVE_SAVE.equals(dropMode) || CalendarDropMode.COPY_SAVE.equals(dropMode)) {
// second mode: "quick save mode"
if (CalendarDropMode.MOVE_SAVE.equals(dropMode)) {
// we need update only in "move" mode, in "copy" mode it was saved a few lines above