uberwald a05d3ca831 Fix ApplicationV2 jQuery parameter handling in _onRender methods
- Fixed TypeError in PlayerPrivacyPanel._onRender: element.querySelector is not a function
- Root cause: FoundryVTT v14 ApplicationV2 passes jQuery objects to _onRender, not plain HTMLElements
- Solution: Normalize parameter to element with querySelector method:
  - If HTMLElement, use directly
  - If jQuery (has [0]), use html[0]
  - Otherwise, use as-is (for test mocks)
- Applied fix to:
  - PlayerPrivacyPanel._onRender
  - PresetSaveDialog._onRender
  - PresetLoadDialog._onRender
- All 900 unit tests passing

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-05-24 13:56:31 +02:00
2026-05-23 18:23:48 +02:00
2026-05-24 00:37:21 +02:00
2026-05-24 01:07:39 +02:00
2026-05-21 23:08:34 +02:00
2026-05-21 23:08:34 +02:00
2026-05-21 23:08:34 +02:00
2026-05-21 23:08:34 +02:00
S
Description
No description provided
CC-BY-SA-4.0 11 MiB
14.0.3 Latest
2026-05-27 12:03:32 +02:00
Languages
JavaScript 51.8%
HTML 34.3%
Less 5.9%
CSS 5.2%
Handlebars 2%
Other 0.8%