Fix form submit

This commit is contained in:
Andreas Kristiansen
2025-09-29 08:37:28 +02:00
parent c4be7367f5
commit c4c9c280dd

View File

@@ -8,6 +8,12 @@ document.addEventListener("DOMContentLoaded", function() {
});
});
$(document).on('submit', 'form', function(e) {
if ($(e.target).find('.bootstrap-dialog').length) {
e.preventDefault();
}
});
var osmUrl = $('#dxccmapjs').attr("tileUrl");