fixed auto reply form

master
Alexander Graf 3 years ago
parent cf7914d050
commit 84a5514a97
No known key found for this signature in database
GPG Key ID: B8A9DC143E075629

@ -28,10 +28,10 @@ $('document').ready(function() {
var fieldset = $(this).parents('fieldset'); var fieldset = $(this).parents('fieldset');
if (this.checked) { if (this.checked) {
fieldset.removeAttr('disabled'); fieldset.removeAttr('disabled');
fieldset.find('input').not(this).removeAttr('disabled'); fieldset.find('input,textarea').not(this).removeAttr('disabled');
} else { } else {
fieldset.attr('disabled', ''); fieldset.attr('disabled', '');
fieldset.find('input').not(this).attr('disabled', ''); fieldset.find('input,textarea').not(this).attr('disabled', '');
} }
}); });

Loading…
Cancel
Save