.ScheduleClientSideEvents(e=>e.AppointmentClick("OnAppointmentClick").AppointmentWindowOpen("appWindowOpen"))
function OnAppointmentClick(args) {
args.cancel = true;
if (!args.appointment.Recurrence)
this._showAppointmentDetails(args.appointment.Guid, true);
else {
if (ej.isNullOrUndefined(this._recurEditWindow)) this._renderRecurEditWindow();
this._parentId = args.appointment.ParentId;
this._recurEditWindow.ejDialog("open");
this._recurEditWindow.focus();
this._deleteBeforeOpen();
}
}
function appWindowOpen(args) {
if (!ej.isNullOrUndefined(args.appointment))
$("#Schedule1AppointmentAddEditWindow_title").find('.e-title').html("Edit Appointment");
else
$("#Schedule1AppointmentAddEditWindow_title").find('.e-title').html("Create Appointment");
} |