mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Disabling some date magic from Careportal that's breaking date entry
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user