Explorar el Código

[Web] fix setting unchecked checkboxes

FreddleSpl0it hace 1 año
padre
commit
dac1bd88dc
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      data/web/templates/modals/mailbox.twig

+ 6 - 0
data/web/templates/modals/mailbox.twig

@@ -381,6 +381,12 @@
       </div>
       </div>
       <div class="modal-body">
       <div class="modal-body">
         <form class="form-horizontal" data-cached-form="true" data-id="add_domain" role="form">
         <form class="form-horizontal" data-cached-form="true" data-id="add_domain" role="form">
+          <input type="hidden" value="0" name="gal">
+          <input type="hidden" value="0" name="active">
+          <input type="hidden" value="0" name="backupmx">
+          <input type="hidden" value="0" name="relay_all_recipients">
+          <input type="hidden" value="0" name="relay_unknown_only">
+
           <div class="row mb-2">
           <div class="row mb-2">
             <label class="control-label col-sm-2 text-sm-end text-sm-end" for="domain">{{ lang.add.domain }}</label>
             <label class="control-label col-sm-2 text-sm-end text-sm-end" for="domain">{{ lang.add.domain }}</label>
             <div class="col-sm-10">
             <div class="col-sm-10">