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 saveTaxRecordToVehicle(isEdit) {
if (data) {
successToast(isEdit ? "Tax Record Updated" : "Tax Record Added.");
hideAddTaxRecordModal();
saveScrollPosition();
getVehicleTaxRecords(formValues.vehicleId);
if (formValues.addReminderRecord) {
setTimeout(function () { showAddReminderModal(formValues); }, 500);