diff --git a/app/modules/project/templates/project/inbox.html b/app/modules/project/templates/project/inbox.html index 7f01b78..07f83b1 100644 --- a/app/modules/project/templates/project/inbox.html +++ b/app/modules/project/templates/project/inbox.html @@ -45,5 +45,5 @@ {% endif %} - + {% endblock %} diff --git a/app/modules/project/templates/project/index.html b/app/modules/project/templates/project/index.html index cfe57c2..eb4ea4d 100644 --- a/app/modules/project/templates/project/index.html +++ b/app/modules/project/templates/project/index.html @@ -424,5 +424,5 @@ window.PJ_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772"] | tojson }}; window.PJ_STAGE_COLORS = {{ ["#4573d2","#37a3a3","#62a420","#e8a33d","#e8384f","#aa62e3","#f06a6a","#5a6772","#e8398a","#a15c43"] | tojson }}; - + {% endblock %} diff --git a/app/modules/project/templates/project/project.html b/app/modules/project/templates/project/project.html index f39aabb..90affae 100644 --- a/app/modules/project/templates/project/project.html +++ b/app/modules/project/templates/project/project.html @@ -538,5 +538,5 @@ - + {% endblock %} diff --git a/app/static/project.js b/app/static/project.js index 6e308af..35888bd 100644 --- a/app/static/project.js +++ b/app/static/project.js @@ -2271,7 +2271,11 @@ } async function deleteStage() { if (!canDelete(s.created_by)) { alert(DELETE_DENIED); return; } - if (!confirm("'" + s.name + "' 세션을 삭제할까요? 이 세션의 업무는 '미지정'이 됩니다.")) return; + const ok = await window.erpConfirm( + "'" + s.name + "' 세션을 삭제할까요? 이 세션의 업무는 '미지정'이 됩니다.", + { okText: "삭제", cancelText: "취소" } + ); + if (!ok) return; try { await api("DELETE", "/project/api/projects/" + projectId + "/stages/" + s.id); await reloadStagesForCurrentProject();