Bläddra i källkod

Refresh inc rpt sign on note on closing popup

Vijayakrishnan 3 år sedan
förälder
incheckning
ca2668df23

+ 1 - 1
js-dev/stag-popup.js

@@ -57,7 +57,7 @@ function closeStagPopup(_noEvent = false) {
                 }
                 else {
                     fastReload(popup.is('[update-target]') ? popup.attr('update-target') : '');
-                    return;
+                    return false;
                 }
             }
         }

+ 2 - 0
resources/views/app/patient/partials/incoming-reports.blade.php

@@ -87,6 +87,7 @@
                                 <a open-in-stag-popup
                                    popup-style="stag-popup-md overflow-visible"
                                    mc-initer="incoming-reports"
+                                   update-parent
                                    title="Incoming Report: {{ $document->title ? $document->title : '(not set)' }}"
                                    href="{{route('patients.view.incoming-reports', ['patient' => $patient, 'currentReport' => $document])}}?noteUid={{request()->input('noteUid') ?: ''}}&{{ @$note ? 'documentViewFromNote=1' : '' }}"
                                    class="{{@$currentReport->uid === $document->uid ? 'font-weight-bold' : ''}}">
@@ -94,6 +95,7 @@
                                 </a>
                             @else
                                 <a mc-initer="incoming-reports"
+                                   update-parent
                                    href="{{route('patients.view.incoming-reports', ['patient' => $patient, 'currentReport' => $document])}}{{request()->input('noteUid') ? '?noteUid=' . request()->input('noteUid') : ''}}"
                                    class="{{@$currentReport->uid === $document->uid ? 'font-weight-bold' : ''}}">
                                     {{ $document->title ? $document->title : '(not set)' }}