Disabling some date magic from Careportal that's breaking date entry

This commit is contained in:
Sulka Haro
2023-01-09 19:31:41 +02:00
parent bdcb7065bc
commit c1de8a5d84
+7
View File
@@ -524,6 +524,11 @@ function init (client, $) {
careportal.dateTimeChange = function dateTimeChange (event) {
$('#othertime').prop('checked', true);
// Can't decipher why the following logic was in place
// and it's now bugging out and resetting any date set manually
// so I'm disabling this
/*
var ele = $(this);
var merged = mergeDateAndTime();
@@ -536,6 +541,8 @@ function init (client, $) {
setDateAndTime(merged);
updateTime(ele, merged);
*/
maybePrevent(event);
};