Checkout "copy from above": Do not copy to disabled fields

This commit is contained in:
Raphael Michel
2021-05-25 18:09:33 +02:00
parent 8fa0d55e17
commit 236967da52

View File

@@ -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'),