Skip to content

Commit

Permalink
Disabling some date magic from Careportal that's breaking date entry
Browse files Browse the repository at this point in the history
  • Loading branch information
sulkaharo committed Jan 9, 2023
1 parent bdcb706 commit c1de8a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/client/careportal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -536,6 +541,8 @@ function init (client, $) {
setDateAndTime(merged);
updateTime(ele, merged);
*/

maybePrevent(event);
};

Expand Down

0 comments on commit c1de8a5

Please sign in to comment.