view_mail.js: handle drag of row that was not selected.
authorArt Cancro <ajc@citadel.org>
Wed, 5 Jul 2023 15:29:02 +0000 (06:29 -0900)
committerArt Cancro <ajc@citadel.org>
Wed, 5 Jul 2023 15:29:02 +0000 (06:29 -0900)
commit9ea223da691d442a1971f6a9411d9a4c091dfb91
treee365db4ba0449384bbee7b5f48585226915c9fe1
parent624928ab39adeb10a7972210297689c79b5e20db
view_mail.js: handle drag of row that was not selected.

If the row being dragged was previously selected, we will drag all
selected rows and show that count next to the icon.  If the row being
dragged is NOT selected, we drag only that row and set count to 1.

This appears to make the behavior consistent with other webmails.
webcit-ng/static/js/view_mail.js