2005-07-19 Helge Hess <helge.hess@opengroupware.org>
+ * UIxAppointmentEditor.wox: use parsing function from skycalendar.js
+ to check validity of date fields
+
* UIxAppointmentEditor.wox: check whether title is set and raise a
confirm panel if not, check if startdate/enddate are 10 chars long
alert('<var:string label:value="validate_invalid_startdate"/>');
return false;
}
+ if (cal_prs_date1(e.value) == null)
+ return false;
e = document.getElementById('endTime_date');
if (e.value.length != 10) {
alert('<var:string label:value="validate_invalid_enddate"/>');
return false;
}
+ if (cal_prs_date1(e.value) == null)
+ return false;
// TODO: parse start/enddate and ensure that start is before end