Browse Source

Tickets - hide DP when closing add/edit view

Vijayakrishnan 3 years ago
parent
commit
c221492612
1 changed files with 5 additions and 0 deletions
  1. 5 0
      resources/views/app/patient/tickets.blade.php

+ 5 - 0
resources/views/app/patient/tickets.blade.php

@@ -949,6 +949,11 @@
                             $(document).on('focus', '#ticketsApp input.form-control', function() {
                             $(document).on('focus', '#ticketsApp input.form-control', function() {
                                 $(this).select();
                                 $(this).select();
                             });
                             });
+
+                            $(document).off('stag-popup-closed.add-edit-popup-closure')
+                            $(document).on('stag-popup-closed.add-edit-popup-closure', function() {
+                                $('input.date-input').datepicker('hide');
+                            });
                         },
                         },
                         inWords: function (num) {
                         inWords: function (num) {
                             try {
                             try {