MCPcopy Create free account
hub / github.com/cppla/ServerStatus / clearConfigForm

Function clearConfigForm

web/js/app.js:750–754  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

748 return `<label><span>${esc(field.label)}</span><input name="${esc(field.name)}" type="${field.type || 'text'}" value="${esc(value)}"${required}${min}${max}${placeholder} /></label>`;
749}
750function clearConfigForm(){
751 S.admin.selectedIndex = -1;
752 renderConfigList();
753 renderConfigEditor();
754}
755function formConfigItem(){
756 const elements = $('configForm').elements;
757 const item = {};

Callers

nothing calls this directly

Calls 2

renderConfigListFunction · 0.85
renderConfigEditorFunction · 0.85

Tested by

no test coverage detected