first working version

This commit is contained in:
2022-04-20 11:49:23 +02:00
parent 052ce75286
commit 523e2fc432
8 changed files with 91 additions and 18 deletions

View File

@@ -19,10 +19,18 @@
<input type="checkbox" name="forward_from">
Forward using original sender
</label>
<label>
<input type="checkbox" name="reply_to_list">
Set list adddress in "ReplyTo" header
</label>
<label>
<input type="checkbox" name="forward_attached">
Append original message as attachment
</label>
<label>
<input type="checkbox" name="hide_receivers">
Hide receivers (using BCC)
</label>
<button type="submit">Save</button>
</fieldset>
</form>

View File

@@ -59,6 +59,8 @@ function showListDetail(data){
console.log(data);
if (data.forward_from) $('input[name="forward_from"]').prop('checked',true);
if (data.forward_attached) $('input[name="forward_attached"]').prop('checked',true);
if (data.hide_receivers) $('input[name="hide_receivers"]').prop('checked',true);
if (data.reply_to_list) $('input[name="reply_to_list"]').prop('checked',true);
}
function showListOfEditableLists(data){