|
@@ -431,7 +431,6 @@ if(!@$summaryView) {
|
|
|
buttonContainer.insertAfter(titleElem);
|
|
|
|
|
|
initSegmentMoes(parentSegment);
|
|
|
- __initRTEs(parentSegment.find('[note-rte]:not(.ql-container)'));
|
|
|
|
|
|
// if there are active items, and it is marked NKAM, auto-unmark it
|
|
|
@if($numActiveItems && $tracker && @($tracker->data->no_known_medications))
|
|
@@ -470,13 +469,16 @@ if(!@$summaryView) {
|
|
|
|
|
|
buttonContainer.insertAfter(titleElem);
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
+ __initRTEs(parentSegment.find('[note-rte]:not(.ql-container)'));
|
|
|
<?php
|
|
|
if(@$note && !$note->is_signed_by_hcp && !request()->input('forceReadMode')) { // auto-open edit mode
|
|
|
?>
|
|
|
- button.trigger('click');
|
|
|
+ // button.trigger('click');
|
|
|
<?php
|
|
|
}
|
|
|
?>
|
|
|
+ }, 0);
|
|
|
}
|
|
|
addMCInitializer('medications-center-{{$note->id}}', init, '#medications-center-{{$note->id}}');
|
|
|
}).call(window);
|