|
@@ -543,26 +543,6 @@ $medications = $points;
|
|
return false;
|
|
return false;
|
|
});
|
|
});
|
|
|
|
|
|
- /*parentSegment.find('.btn-mark-as-ee')
|
|
|
|
- .off('click.btn-mark-as-ee')
|
|
|
|
- .on('click.btn-mark-as-ee', function () {
|
|
|
|
- let form = $(this).closest('form');
|
|
|
|
- showMask();
|
|
|
|
- $.post('/api/visitPoint/updateTopLevel', {
|
|
|
|
- uid: $(this).attr('data-uid'),
|
|
|
|
- noteUid: '{{$note->uid}}',
|
|
|
|
- isRemoved: '1',
|
|
|
|
- removalReasonCategory: 'DURING_VISIT',
|
|
|
|
- removalReasonMemo: 'Entry Error',
|
|
|
|
- isRemovedDueToEntryError: '1',
|
|
|
|
- }, _data => {
|
|
|
|
- if(!hasResponseError(_data)) {
|
|
|
|
- refreshDynamicStagPopup();
|
|
|
|
- }
|
|
|
|
- }, 'json').then(function() { hideMask(); });
|
|
|
|
- return false;
|
|
|
|
- });*/
|
|
|
|
-
|
|
|
|
parentSegment.find('#frm-add-medication')
|
|
parentSegment.find('#frm-add-medication')
|
|
.off('submit')
|
|
.off('submit')
|
|
.on('submit', function () {
|
|
.on('submit', function () {
|