]> git.proxmox.com Git - pmg-gui.git/commit
attachment grid: default to filtering by content-disposition
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 7 Nov 2022 14:36:20 +0000 (15:36 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 11 Nov 2022 17:40:39 +0000 (18:40 +0100)
commitdb3264f2eeed5f29ae175c0c55972f042ff80733
treeca74735268c65582541bbb10c7b4085387bc5f34
parent86c2fdb6c3b4c4f50d77f304272567977c1000d3
attachment grid: default to filtering by content-disposition

Normally, attachments are given the 'content-disposition: attachment'
mime attribute, so we use that to filter the attachments.

But since we're dealing with spam & virus mails here, and that field
is client controlled, give the user a way to toggle the remaining parts
of the mail too.

Added the checkbox in the header part, but that made it necessary to
manually implement the expand/collapse toggle (since the tools are on
the wrong side of the default toggle)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/AttachmentGrid.js