-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
After successfully sending a fax from the document viewer dialog, the dialog does not automatically close. The browser console shows:
Uncaught ReferenceError: dlgclose is not defined
Additionally, jQuery is not available:
Uncaught ReferenceError: $ is not defined
Root Cause
The send-document.html.twig template is a standalone HTML page that doesn't include OpenEMR's dialog utilities or jQuery. The dlgclose() function is provided by OpenEMR's dialog system and is only available when properly integrated.
Expected Behavior
Dialog should close automatically ~2 seconds after successful fax send, showing the success message briefly before closing.
Current Behavior
- Success message displays
- Dialog stays open
- User must manually click the X to close
Metadata
Metadata
Assignees
Labels
No labels