Added missing "event" argument to addEventListener() call in actions.js.
This commit is contained in:
parent
1c004939d5
commit
e84b054325
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue