mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Checkout "copy from above": Do not copy to disabled fields
This commit is contained in:
@@ -473,7 +473,7 @@ $(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function copy_answers(elements, answers) {
|
function copy_answers(elements, answers) {
|
||||||
elements.each(function (index) {
|
elements.not("[disabled], [readonly]").each(function (index) {
|
||||||
var input = $(this),
|
var input = $(this),
|
||||||
tagName = input.prop('tagName').toLowerCase(),
|
tagName = input.prop('tagName').toLowerCase(),
|
||||||
attributeType = input.attr('type'),
|
attributeType = input.attr('type'),
|
||||||
|
|||||||
Reference in New Issue
Block a user