Use delete_dispatcher() as intended
authorArt Cancro <ajc@citadel.org>
Thu, 26 Jan 2023 21:46:37 +0000 (16:46 -0500)
committerArt Cancro <ajc@citadel.org>
Thu, 26 Jan 2023 21:46:37 +0000 (16:46 -0500)
commitfa1ddf7220953d32e1c773c536b1ad116a9e80ee
tree38caf72e33ba18ba6b58d44fca51b45ca5a93025
parent5e68c8104975bc4ca3c7841bceb90b75f9e5e014
Use delete_dispatcher() as intended

I had earlier begun a pattern for dispatching "Delete" clicks to the correct
function for the room view, in the same way we dispatch "Enter Message" clicks.
This commit modifies the mailbox view to use that framework.
webcit-ng/static/js/view_mail.js
webcit-ng/static/js/views.js