-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2678] Fix "Reveal" button in secret blocks in multi-editor
Fixes the issues with reveal buttons for secret blocks for items and actors that use multiple description editors. This required overriding `_getSecretContent` and `_updateSecret` to look for `data-target` in addition to `data-edit`. The locking code was also modified to avoid disabling the secret button when the sheets are in play mode. There is a still a bug with the PC sheet and the item sheets with only a single description (like classes), which don't retain the secret state if the play/edit toggle is changed immediately after changing the secret state. This appears to be because when it submits `FormDataExtended` is fetching old data from the editor instances on the sheet. Closes #2678
- Loading branch information
Showing
5 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters