06/15 Phase 4 + 5 codes

This commit is contained in:
2026-06-15 17:43:47 -04:00
parent f57a95013c
commit a9efd15a76
36 changed files with 1677 additions and 57 deletions
+1 -5
View File
@@ -66,11 +66,7 @@
var groups = document.querySelectorAll('.attr-group');
function sync(){
groups.forEach(function(g){
var visible = g.dataset.cat === sel.value;
g.style.display = visible ? 'block' : 'none';
g.querySelectorAll('input,select,textarea').forEach(function(el){
el.disabled = !visible;
});
g.style.display = (g.dataset.cat === sel.value) ? 'block' : 'none';
});
}
if (sel){ sel.addEventListener('change', sync); sync(); }