fix(project): 댓글 채팅 팝업 불러오기 실패 — avatarHtml 스코프 밖 참조

채팅 공용 코드(initCommentsChat)가 프로젝트 화면 init 안에만 있는
avatarHtml 을 불러 ReferenceError. 상위 스코프 chatAvatarHtml 로 교체.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-23 21:19:14 +09:00
parent ddff4b250d
commit f84abffcc7
4 changed files with 26 additions and 8 deletions
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260923g" />
<link rel="stylesheet" href="/static/project.css?v=20260923h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -96,5 +96,5 @@
</div>
</div>
<script src="/static/project.js?v=20260923g" defer></script>
<script src="/static/project.js?v=20260923h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260923g" />
<link rel="stylesheet" href="/static/project.css?v=20260923h" />
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
{% endblock %}
@@ -117,5 +117,5 @@
"today": {{ today | tojson }}
}
</script>
<script src="/static/project.js?v=20260923g" defer></script>
<script src="/static/project.js?v=20260923h" defer></script>
{% endblock %}
@@ -1,7 +1,7 @@
{% extends "erp_base.html" %}
{% block head_extra %}
<link rel="stylesheet" href="/static/project.css?v=20260923g" />
<link rel="stylesheet" href="/static/project.css?v=20260923h" />
<!-- 구글 머티리얼 심볼(담당자 아이콘 등) — self-host -->
<link rel="stylesheet" href="/static/vendor/material-symbols/material-symbols.css" />
<!-- 타임라인 vis-timeline — self-host -->
@@ -518,5 +518,5 @@
</script>
<script src="/static/vendor/vis-timeline/vis-timeline-graph2d.min.js"></script>
<script src="/static/project.js?v=20260923g" defer></script>
<script src="/static/project.js?v=20260923h" defer></script>
{% endblock %}