Skip to content

Commit

Permalink
fix(Employee Checkin): set the form as dirty on fetching geolocation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchamahabal authored Sep 4, 2024
1 parent bd28a8e commit b7ba4f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hrms/hr/doctype/employee_checkin/employee_checkin.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ frappe.ui.form.on("Employee Checkin", {
frm.set_value("longitude", position.coords.longitude);

await frm.call("set_geolocation_from_coordinates");
frm.dirty();
frappe.dom.unfreeze();
},
(error) => {
Expand Down

0 comments on commit b7ba4f5

Please sign in to comment.