Merge pull request #3683 from Simpler1/shift-delete-events

feat(events): Shift delete with no confirm
pull/3688/head
Isaac Connor 2023-04-07 11:13:00 -04:00 committed by GitHub
commit 70693b2b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -381,7 +381,12 @@ function initPage() {
}
evt.preventDefault();
$j('#deleteConfirm').modal('show');
if (evt.shiftKey) {
const selections = getIdSelections();
deleteEvents(selections);
} else {
$j('#deleteConfirm').modal('show');
}
});
// Update table links each time after new data is loaded