Compare commits
No commits in common. "a75ba765dfab87f4f0bb1814eb72f66928175118" and "3323807e4671629544990e1178da9aeecf2ac7cc" have entirely different histories.
a75ba765df
...
3323807e46
@ -189,6 +189,11 @@ function selectBoatChange() {
|
|||||||
|
|
||||||
inputElement.value = formattedDateTime;
|
inputElement.value = formattedDateTime;
|
||||||
|
|
||||||
|
const distinput = <HTMLInputElement>(
|
||||||
|
document.querySelector("#distance_in_km")
|
||||||
|
);
|
||||||
|
distinput.value = "";
|
||||||
|
|
||||||
const destinput = <HTMLInputElement>(
|
const destinput = <HTMLInputElement>(
|
||||||
document.querySelector("#destination")
|
document.querySelector("#destination")
|
||||||
);
|
);
|
||||||
@ -754,11 +759,9 @@ function addRelationMagic(bodyElement: HTMLElement) {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
if (option && option.value !== ""){
|
|
||||||
// Get distance
|
// Get distance
|
||||||
const distance = option.getAttribute("distance");
|
const distance = option.getAttribute("distance");
|
||||||
if (distance && relatedField.value === "") relatedField.value = distance;
|
if (distance) relatedField.value = distance;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user