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