]> git.proxmox.com Git - pmg-gui.git/commit
spam quarantine controller: fix args when calling the parent multiSelect
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 12:09:33 +0000 (13:09 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 12:16:51 +0000 (13:16 +0100)
commitba1a55b7758ebbae716b94a282782e7fbea3b5de
treed6eadd65f2ef466ffbbcebe0ea2ce1301acd92cb
parentff23b1b37b690bd3ea46470e45eee54fda62bf5c
spam quarantine controller: fix args when calling the parent multiSelect

arguments needs to be an array, often we call with all of ours, iow.
using `arguments` which itself is an array already.

Both, manual construction and just a passing `arguments` have their
advantage and disadvantage, e.g., if either the inheriting or
bequesting class becomes more specialized, but most of the time using
`arguments` is more future proof.

Fixes: e66c888 ("quarantine: refactor spamquarantine controller")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/SpamQuarantine.js