From 236967da52dd0674edea08a6b5b6ea2228abeec2 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 25 May 2021 18:09:33 +0200 Subject: [PATCH] Checkout "copy from above": Do not copy to disabled fields --- 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 3258eb69d8..3b0c270a12 100644 --- a/src/pretix/static/pretixpresale/js/ui/main.js +++ b/src/pretix/static/pretixpresale/js/ui/main.js @@ -473,7 +473,7 @@ $(function () { }); function copy_answers(elements, answers) { - elements.each(function (index) { + elements.not("[disabled], [readonly]").each(function (index) { var input = $(this), tagName = input.prop('tagName').toLowerCase(), attributeType = input.attr('type'),