Hotfix JS issue

This commit is contained in:
Raphael Michel
2022-06-10 13:00:01 +02:00
parent 86085d9368
commit 334c1c4b5e

View File

@@ -221,7 +221,7 @@ $(function () {
var formData = new FormData(this);
formData.append('ajax', '1');
// Not supported on IE, may lead to wrong results, but we don't support IE in the backend anymore
var submitter = e.originalEvent.submitter;
var submitter = e.originalEvent ? e.originalEvent.submitter : null;
if (submitter && submitter.name) {
formData.append(submitter.name, submitter.value);
}