浏览代码

Tickets - entering text data erases date - fix

Vijayakrishnan 3 年之前
父节点
当前提交
fc6c9567e0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      resources/views/app/patient/tickets.blade.php

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

@@ -940,6 +940,7 @@
                                     todayHighlight: true,
                                     format: 'yyyy-mm-dd',
                                     onSelect: function(_date) {
+                                        if(!self.currentCategory) self.currentCategory = 'other';
                                         self[self.currentCategory + 'PopupItem'].data.due_date = $(this).val();
                                         self[self.currentCategory + 'SavePopupItem'].call(self, true);
                                     }