Added missing "event" argument to addEventListener() call in actions.js.

This commit is contained in:
Raymond Nunez 2021-04-09 03:03:17 -04:00 committed by GitHub
parent 1c004939d5
commit e84b054325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@
});
});
document.querySelector('#changelist-form button[name=index]').addEventListener('click', function() {
document.querySelector('#changelist-form button[name=index]').addEventListener('click', function(event) {
if (list_editable_changed) {
const confirmed = confirm(gettext("You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost."));
if (!confirmed) {