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 = "보기";