AccountingNext/Schaad.Accounting.UI/wwwroot/js
Claudio Schaad c07fd2893e Fix menu link click error and charts failing after the JSON editor
- NavMenu: drop CustomToggle="true" (left over from the project
  template). It made every nav link run
  document.getElementById('navmenu-toggle').click(), but there is no
  such element, so each click threw a TypeError.
- charts.js: Monaco's AMD loader (JSON editor) leaves a global define()
  and pages switch without a full reload. Chart.js and the treemap plugin
  are UMD bundles that then register as AMD modules instead of setting
  window.Chart, so Analyse, Strom and Wasser failed with "Cannot read
  properties of undefined (reading 'defaults')" and the circuit was
  terminated. define is now hidden while they load, through one shared
  loading promise so concurrent charts can't restore it wrongly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:21:08 +01:00
..
charts.js Fix menu link click error and charts failing after the JSON editor 2026-10-30 22:21:08 +01:00
monaco.js JSON editor: fix switching files and returning to the page (#13) 2026-10-30 21:09:27 +00:00
unsaved-guard.js Add JSON editor for the data files (#7) 2026-10-22 17:55:20 +00:00
url.js JSON editor: fix switching files and returning to the page (#13) 2026-10-30 21:09:27 +00:00
viewport.js Analyse page: income, net and assets views; narrow-screen layout (#6) 2026-10-22 16:42:43 +00:00