]> git.proxmox.com Git - pmg-gui.git/commit - js/SpamQuarantine.js
SpamQuarantine: add keyboard shortcuts for actions
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 28 Mar 2018 14:55:45 +0000 (16:55 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 29 Mar 2018 12:33:45 +0000 (14:33 +0200)
commit0b9c052824b23af357e14378d8d1ad2eddaa3a5f
treef560ee52671e73f2191ffb39f1ce3ddea37cc0b0
parentc627f092b83fcb3a4531c7754647779909ad96c2
SpamQuarantine: add keyboard shortcuts for actions

d/D: deliver
delete: delete
w/W: whitelist
b/B: blacklist

the delete key registers differently depending on browser,
so we have to check for event.DELETE and '127'

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