From c4c9c280dd038050a49d92a82df2fb9d2389fdbc Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Mon, 29 Sep 2025 08:37:28 +0200 Subject: [PATCH] Fix form submit --- assets/js/sections/dxccmap.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/js/sections/dxccmap.js b/assets/js/sections/dxccmap.js index b09181d67..0019b7e18 100644 --- a/assets/js/sections/dxccmap.js +++ b/assets/js/sections/dxccmap.js @@ -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");