From 377d888221acb270732f93a7b11daa70cdfbec6c Mon Sep 17 00:00:00 2001 From: Tim Aldinger Date: Tue, 13 Oct 2026 22:28:56 +0200 Subject: [PATCH] =?UTF-8?q?Klassen=20und=20typen=20f=C3=BCr=20Kn=C3=B6pfe?= =?UTF-8?q?=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/js/pages/list/frontend/itemUI.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/static/js/pages/list/frontend/itemUI.js b/src/main/resources/static/js/pages/list/frontend/itemUI.js index aaa04f2..c159db4 100644 --- a/src/main/resources/static/js/pages/list/frontend/itemUI.js +++ b/src/main/resources/static/js/pages/list/frontend/itemUI.js @@ -36,8 +36,12 @@ export function createEditItemForm(currentName, currentAmount) { inputAmount.classList.add("editForm__amount"); + abortButton.setAttribute("type", "button"); + abortButton.classList.add("editForm__buttonAbort"); abortButton.textContent = "Abbrechen"; + saveButton.textContent = "Speichern"; + saveButton.setAttribute("type", "submit"); editForm.append(inputName, inputAmount, saveButton, abortButton);