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
…(backport #2157) (#2158)

(cherry picked from commit b7ba4f5)

Co-authored-by: Rucha Mahabal <[email protected]>
  • Loading branch information
mergify[bot] and ruchamahabal authored Sep 4, 2024
1 parent 020344d commit 3598ae9
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 3598ae9

Please sign in to comment.