preserve the scroll position.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-14 17:51:36 -07:00
parent e29e14bc3e
commit ec740089fe
8 changed files with 22 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ function saveCollisionRecordToVehicle(isEdit) {
if (data) {
successToast(isEdit ? "Repair Record Updated" : "Repair Record Added.");
hideAddCollisionRecordModal();
saveScrollPosition();
getVehicleCollisionRecords(formValues.vehicleId);
if (formValues.addReminderRecord) {
setTimeout(function () { showAddReminderModal(formValues); }, 500);