|
@@ -1576,6 +1576,14 @@
|
|
|
$('#caremonth-measurements-calendar-{{$calendarID}}').parent().addClass('d-none');
|
|
|
}, 10);
|
|
|
|
|
|
+ $('[tab-link=measurements-calendar]').click(function(){
|
|
|
+ if(typeof measurementsCalendar !== 'undefined'){
|
|
|
+ window.setTimeout(()=>{
|
|
|
+ measurementsCalendar.updateSize();
|
|
|
+ },10);
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
// if in popup, invoke vitals graph initer
|
|
|
if($('#care-month-container-{{$patient->uid}}').closest('.stag-popup').length) {
|
|
|
runMCInitializer('vitalsGraphUnified_{{$careMonth->id}}');
|