class aus JavaScript-Dateien entfernt.
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
class Appointment {
|
||||
constructor(pStartDate, pStartTime, pEndTime, pSubject, pNotice, pEndDate, pLocation) {
|
||||
this.startDate = pStartDate;
|
||||
this.startTime = pStartTime;
|
||||
this.endDate = pEndDate;
|
||||
this.endTime = pEndTime;
|
||||
this.subject = pSubject;
|
||||
this.notice = pNotice;
|
||||
this.location = pLocation;
|
||||
}
|
||||
function Appointment(pStartDate, pStartTime, pEndTime, pSubject, pNotice, pEndDate, pLocation) {
|
||||
this.startDate = pStartDate;
|
||||
this.startTime = pStartTime;
|
||||
this.endDate = pEndDate;
|
||||
this.endTime = pEndTime;
|
||||
this.subject = pSubject;
|
||||
this.notice = pNotice;
|
||||
this.location = pLocation;
|
||||
|
||||
isValid() {
|
||||
this.isValid = function() {
|
||||
return this.startDate != null && this.startDate !== "" &&
|
||||
this.startTime != null && this.startTime !== "" &&
|
||||
this.endDate != null && this.endDate !== "" &&
|
||||
|
||||
@@ -226,8 +226,8 @@ function appointmentOnClick(element, appointmentOid) {
|
||||
$("#KalenderTable").css("display", "none");
|
||||
$("#KalenderNavigation").css("display", "none");
|
||||
$("#KalenderTableTask").css("display", "none");
|
||||
$("#StartDate").val(startDate.dateString);
|
||||
$("#EndDate").val(endDate.dateString);
|
||||
$("#StartDate").val(startDate.getBeWoDateObjectDateString());
|
||||
$("#EndDate").val(endDate.getBeWoDateObjectDateString());
|
||||
|
||||
$("#TerminStartZeit").val(startTime);
|
||||
$("#TerminEndZeit").val(endTime);
|
||||
@@ -289,7 +289,7 @@ function checkAppointmentFields() {
|
||||
var newAppointmentEndTime = $("#TerminEndZeit").val();
|
||||
var newAppointmentSubject = $("#TerminBetreff").val();
|
||||
var newAppointmentLocation = $("#AppointmentLocation").val();
|
||||
alert("alört");
|
||||
|
||||
var errorList = [];
|
||||
var shouldShowErrorMessage = false;
|
||||
|
||||
@@ -538,7 +538,7 @@ function initAppointmentEditForm() {
|
||||
$("#EndDate").prop("readonly", false);
|
||||
$("#TerminStartZeit").prop("readonly", false);
|
||||
$("#TerminEndZeit").prop("readonly", false);
|
||||
$("#TerminBetreff").prop('readonly', false);
|
||||
$("#TerminBetreff").prop("readonly", false);
|
||||
$("#TerminNotiz").prop("readonly", false);
|
||||
|
||||
$("#TerminSpeichern").val("Speichern");
|
||||
|
||||
Reference in New Issue
Block a user