mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
show cancel button.
This commit is contained in:
parent
3cc32e48f4
commit
d60c3d3ea6
@ -140,6 +140,7 @@ function updatePlanRecordProgress(newProgress) {
|
|||||||
<input type="text" id="inputOdometer" class="swal2-input" placeholder="Odometer Reading">
|
<input type="text" id="inputOdometer" class="swal2-input" placeholder="Odometer Reading">
|
||||||
`,
|
`,
|
||||||
confirmButtonText: 'Confirm',
|
confirmButtonText: 'Confirm',
|
||||||
|
showCancelButton: true,
|
||||||
focusConfirm: false,
|
focusConfirm: false,
|
||||||
preConfirm: () => {
|
preConfirm: () => {
|
||||||
const odometer = $("#inputOdometer").val();
|
const odometer = $("#inputOdometer").val();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user