Changed id type to uuid.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
<label class="checkbox-label"><%= input.title %>: </label><br><br>
|
||||
<span class="segmented small">
|
||||
<% for (const segmentObject of input.values) { %>
|
||||
<% if (segmentObject.id!=="ANY") { %>
|
||||
<label>
|
||||
<input type="radio" name="<%= input.dbField %>" value="<%= segmentObject.id %>"
|
||||
<% if (additionalSegmentSelectValues[input.dbField] === segmentObject.id) { %>
|
||||
@@ -41,6 +42,7 @@
|
||||
<% } %>>
|
||||
<span class="label"><%= segmentObject.title %></span>
|
||||
</label>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -149,14 +149,9 @@
|
||||
}
|
||||
|
||||
$("#submit").click( function () {
|
||||
const mapBounds = map.getBounds();
|
||||
const currentLocation = marker.getPosition();
|
||||
|
||||
|
||||
$("#north").val(mapBounds.getNorthEast().lat());
|
||||
$("#south").val(mapBounds.getSouthWest().lat());
|
||||
$("#east").val(mapBounds.getNorthEast().lng());
|
||||
$("#west").val(mapBounds.getSouthWest().lng());
|
||||
if (marker) {
|
||||
const currentLocation = marker.getPosition();
|
||||
|
||||
$("#lat").val(currentLocation.lat());
|
||||
|
||||
@@ -164,7 +159,13 @@
|
||||
|
||||
$("#locationInput").val(
|
||||
document.getElementById("autocompleteInput").value
|
||||
);
|
||||
);
|
||||
} else {
|
||||
$("#lat").val(0);
|
||||
|
||||
$("#lng").val(0);
|
||||
}
|
||||
|
||||
|
||||
//Tag for checking of error presence
|
||||
let hasErrors = false;
|
||||
|
||||
Reference in New Issue
Block a user