pediatric-ai-scribe-v3/public/js
Daniel Onyejesi 868afcda20 Fix module init: defer all tab scripts until component HTML is loaded
All JS modules were running immediately (IIFE/DOMContentLoaded) but
tab HTML is lazy-loaded from /components/*.html, causing null errors
on every addEventListener call. Each module now listens for tabChanged
with its tab name and initializes once after the DOM is ready.

Also: quiz question/explanation boxes changed to textarea for
multi-line support; quiz display uses sanitizeHtml() so formatted
text (bold, lists, etc.) renders correctly.
2026-03-23 22:03:54 -04:00
..
admin.js Dedicated CMS page, responsive email templates, security fixes in auth 2026-03-23 20:13:22 -04:00
app.js Fix line breaks in AI output: use innerHTML instead of textContent 2026-03-23 21:17:50 -04:00
auth.js Dedicated CMS page, responsive email templates, security fixes in auth 2026-03-23 20:13:22 -04:00
chartReview.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
encounters.js Fix: chart review New clears all fields/notes, date context for AI, Bedrock vendor model-only models 2026-03-23 18:12:07 +01:00
hospitalCourse.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
learningHub.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
liveEncounter.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
memories.js Feat: admin CMS, save/resume encounters, user templates, SSHADESS, well visit notes, sick visit, ROS/PE checklists, ICD-10 diagnoses 2026-03-22 16:43:39 -04:00
milestones.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
milestonesData.js v3.0: Add multi-provider Bedrock models, newborn milestones, Converse API 2026-03-23 22:13:19 +01:00
nextcloud.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
pediatricScheduleData.js Add growth velocity, feeding guidance, BMI classification to well visits 2026-03-23 23:11:24 +01:00
shadess.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
sickVisit.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
soap.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
voiceDictation.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00
wellVisit.js Fix module init: defer all tab scripts until component HTML is loaded 2026-03-23 22:03:54 -04:00