From 3e2c12cdb0315b4499a09f767b7e73a7ba5f8b3f Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Fri, 8 Mar 2024 19:33:06 +0100 Subject: [PATCH] Presale: fix auto-unchecked button-checkboxes (#3968) --- src/pretix/static/pretixpresale/js/ui/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/static/pretixpresale/js/ui/main.js b/src/pretix/static/pretixpresale/js/ui/main.js index 7f2f5b50e..28f9a62a1 100644 --- a/src/pretix/static/pretixpresale/js/ui/main.js +++ b/src/pretix/static/pretixpresale/js/ui/main.js @@ -153,7 +153,7 @@ var form_handlers = function (el) { var $others = $("input[name^=" + $(this).attr("data-exclusive-prefix") + "]:not([name=" + $(this).attr("name") + "])"); $(this).on('click change', function () { if ($(this).prop('checked')) { - $others.prop('checked', false); + $others.prop('checked', false).trigger('change'); } }); });