You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use Admin namespace for LLM provider/model form onsubmit handlers
The llm-provider-form and llm-model-form in admin.html called
saveLLMProvider(event) and saveLLMModel(event) directly in their
onsubmit attributes. These functions are not in the global scope —
they are only registered on the window.Admin object in admin.js.
This caused the browser to fail silently: event.preventDefault()
was never called, the form fell back to native HTML submission
(page reload), and no provider or model was ever saved.
Fix: prefix both handlers with Admin. so they resolve correctly.
Fixes#4662
Signed-off-by: SealKrach <[email protected]>
0 commit comments