1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00

Fix the behavior of the 'enable reply' checkbox

This commit is contained in:
Pierre Jaury 2016-04-24 16:49:54 +02:00
parent bc6766ac26
commit 78abe64068

View File

@ -14,7 +14,7 @@ Automatic reply
{{ macros.form_field(form.reply_enabled,
onchange="if(this.checked){$('#reply_subject,#reply_body').removeAttr('disabled')}
else{$('#reply_subject,#reply_body').attr('disabled', '').val('')}",
**{("checked" if user.forward else "unchecked"): ""}) }}
**{("checked" if user.reply_subject else "unchecked"): ""}) }}
{{ macros.form_field(form.reply_subject,
**{("enabled" if user.reply_subject else "disabled"): ""}) }}
{{ macros.form_field(form.reply_body, rows=10,