mirror of
https://github.com/pretix/pretix.git
synced 2026-08-26 13:14:40 +00:00
Update src/pretix/static/pretixpresale/js/ui/main.js
This commit is contained in:
@@ -159,7 +159,7 @@ var form_handlers = function (el) {
|
|||||||
this.addEventListener("change", function (e) {
|
this.addEventListener("change", function (e) {
|
||||||
var variations = e.target.closest(".variations");
|
var variations = e.target.closest(".variations");
|
||||||
if (variations && !multipleAllowed && e.target.checked) {
|
if (variations && !multipleAllowed && e.target.checked) {
|
||||||
// deactivate all other checkboxes inside this variations
|
// uncheck all other checkboxes inside this variations
|
||||||
$(".availability-box input:checked", variations).not(e.target).prop("checked", false).trigger("change");
|
$(".availability-box input:checked", variations).not(e.target).prop("checked", false).trigger("change");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user