fix(proxy-input): showToast 무한재귀 제거 + tbm_sessions 컬럼 추가
- showToast: proxy-input.js 중복 정의 삭제 (tkfb-core.js 것 사용) window.showToast가 자기 자신 → 무한 호출 → stack overflow - DB: tbm_sessions에 safety_notes, work_location 컬럼 추가 대리입력 INSERT 시 500 에러 해결 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -444,12 +444,4 @@ async function saveProxyInput() {
|
||||
}
|
||||
|
||||
// ===== Toast =====
|
||||
function showToast(msg, type) {
|
||||
if (window.showToast) { window.showToast(msg, type); return; }
|
||||
const c = document.getElementById('toastContainer');
|
||||
const t = document.createElement('div');
|
||||
t.className = `toast toast-${type || 'info'}`;
|
||||
t.textContent = msg;
|
||||
c.appendChild(t);
|
||||
setTimeout(() => t.remove(), 3000);
|
||||
}
|
||||
// showToast는 tkfb-core.js에서 제공 (중복 정의 제거)
|
||||
|
||||
Reference in New Issue
Block a user