Skip to content

v0.0.6 - Fix V2 Application compatibility (Foundry v13)

Choose a tag to compare

@bruceamoser bruceamoser released this 16 Feb 19:21
· 11 commits to main since this release
d609979

Root cause: Foundry v13 migrated DocumentOwnershipConfig to a V2 Application. V2 apps do NOT use _updateObject — so our prototype wrapper was never called on save.

Fix: Removed _updateObject wrapping entirely. Now attaches a DOM submit event listener directly to the form element during the render hook. This works across V1 (v11/v12) and V2 (v13) Application frameworks.

What to look for in console (F12):

  • Attaching submit listener to form for folder: <name> on dialog open
  • Form submitted. cascade: true when saving with checkbox checked
  • Ownership form data: {...} showing the permission levels
  • Total documents to update: N showing cascade count