Added an form for merging two parts together

This commit is contained in:
Jan Böhmer 2023-11-22 20:11:38 +01:00
parent 50069c7611
commit b0f5d9b55f
5 changed files with 85 additions and 3 deletions

View file

@ -43,7 +43,8 @@ export default class extends Controller
const message = this.element.dataset.deleteMessage;
const title = this.element.dataset.deleteTitle;
const form = this.element;
//Use event target, to find the form, where the submit button was clicked
const form = event.target;
const submitter = event.submitter;
const that = this;