Portal credential enhancements
[openemr.git] / interface / patient_file / erx_patient_portal_js.php
blob1be2e9980c9a383176743a63e0fefcb58648103a
1 <?php
2 /**
3 * erx account status and patient portal username generator popup modals
5 * @package OpenEMR
6 * @link http://www.open-emr.org
7 * @author Ranganath Pathak <pathak@scrs1.org>
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2018 Ranganath Pathak <pathak@scrs1.org>
10 * @copyright Copyright (c) 2018 Brady Miller <brady.g.miller@gmail.com>
11 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
14 //erx account status and patient portal username generator popup modals
15 $(function() {
16 $(".iframe1").on('click', function(e) {
17 e.preventDefault();e.stopPropagation();
18 dlgopen('', '', 350, 300, '', '', {
19 buttons: [
20 {text: <?php echo xlj('Close'); ?>, close: true, style: 'default btn-sm'}
22 allowResize: true,
23 allowDrag: true,
24 dialogId: '',
25 type: 'iframe',
26 url: $(this).attr('href')
27 });
28 });
29 // for patient portal
30 $(".small_modal").on('click', function(e) {
31 e.preventDefault();e.stopPropagation();
32 dlgopen('', '', 380, 200, '', '', {
33 buttons: [
34 {text: <?php echo xlj('Close'); ?>, close: true, style: 'default btn-sm'}
36 allowResize: true,
37 allowDrag: true,
38 dialogId: '',
39 type: 'iframe',
40 url: $(this).attr('href')
41 });
42 });
43 });