fixed for real.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-10 14:42:58 -07:00
parent e3bf6f03d7
commit 52f9ae7ea1
13 changed files with 44 additions and 55 deletions

View File

@@ -197,18 +197,13 @@ function showAddReminderModal(reminderModalInput) {
if (reminderModalInput != undefined) {
$.post('/Vehicle/GetAddReminderRecordPartialView', {reminderModel: reminderModalInput}, function (data) {
$("#reminderRecordModalContent").html(data);
$('#reminderDate').datepicker({
startDate: "+0d"
});
initDatePicker($('#reminderDate'), true);
$("#reminderRecordModal").modal("show");
});
} else {
$.post('/Vehicle/GetAddReminderRecordPartialView', function (data) {
$("#reminderRecordModalContent").html(data);
$('#reminderDate').datepicker({
startDate: "+0d",
format: getShortDatePattern().pattern
});
initDatePicker($('#reminderDate'), true);
$("#reminderRecordModal").modal("show");
});
}