From ca327d751b63239a70acb17d72a8a67ee2a25503 Mon Sep 17 00:00:00 2001 From: kkazuya Date: Thu, 10 Sep 2026 16:08:38 +0900 Subject: [PATCH] =?UTF-8?q?[edit]=20html=E3=82=92=E4=B8=80=E9=83=A8?= =?UTF-8?q?=E7=B7=A8=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/menu.html | 4 ++-- src/main/resources/templates/selectDepartment.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/menu.html b/src/main/resources/templates/menu.html index b04b252..1b4545e 100644 --- a/src/main/resources/templates/menu.html +++ b/src/main/resources/templates/menu.html @@ -67,13 +67,13 @@ function selectDepartmentSubmit() { const form = document.createElement('form'); form.setAttribute('method', 'post'); - form.setAttribute('action', 'selectDepartmentInfo'); + form.setAttribute('action', 'selectDepartment'); // 動的送信用のHidden // 動的にFormを作成する場合は何かしら送信しないと、正しく動作しない const inputField = document.createElement("input"); inputField.setAttribute("type", "hidden"); - inputField.setAttribute("value", "selectDepartmentInfo"); + inputField.setAttribute("value", "selectDepartment"); form.appendChild(inputField); diff --git a/src/main/resources/templates/selectDepartment.html b/src/main/resources/templates/selectDepartment.html index 9705881..3f68b26 100644 --- a/src/main/resources/templates/selectDepartment.html +++ b/src/main/resources/templates/selectDepartment.html @@ -20,7 +20,7 @@ -