From 7b8699287b699ffdb0d90a482eca8f0178925be9 Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 13 Jun 2024 16:06:50 +0900 Subject: [PATCH] no message --- src/main/webapp/resources/js/adds/cmmn/componentization.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/webapp/resources/js/adds/cmmn/componentization.js b/src/main/webapp/resources/js/adds/cmmn/componentization.js index d44f9ba..9b267a8 100644 --- a/src/main/webapp/resources/js/adds/cmmn/componentization.js +++ b/src/main/webapp/resources/js/adds/cmmn/componentization.js @@ -13,11 +13,13 @@ function fnMakeGridImageViewer(tdEls, fileInputElName){ tdEl.appendChild(fileInputEl); let uploadButtonEl = document.createElement("button"); + uploadButtonEl.type = "button"; uploadButtonEl.classList.add("btn","btn-primary","w-px-50", "mx-1"); uploadButtonEl.textContent = "등록"; tdEl.appendChild(uploadButtonEl); let viewButtonEl = document.createElement("button"); + viewButtonEl.type = "button"; viewButtonEl.classList.add("btn","btn-primary","w-px-50", "mx-1"); viewButtonEl.setAttribute("hidden","hidden"); viewButtonEl.textContent = "보기";