Skip to content
Snippets Groups Projects
Commit 287968e6 authored by Denis Vermylen (dve)'s avatar Denis Vermylen (dve) Committed by DVE
Browse files

[IMP] hr_attendance: remove entered PIN if wrong

So you don't have to click on Clear before re-entering the PIN.
parent c60b2c6a
Branches
Tags
No related merge requests found
......@@ -47,6 +47,7 @@ var KioskConfirm = Widget.extend({
self.do_action(result.action);
} else if (result.warning) {
self.do_warn(result.warning);
self.$('.o_hr_attendance_PINbox').val('');
setTimeout( function() { self.$('.o_hr_attendance_pin_pad_button_ok').removeAttr("disabled"); }, 500);
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment