Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JournalSheet onRender ignores mode option #8975

Closed
6 tasks done
Geekswordsman opened this issue Mar 3, 2023 · 1 comment
Closed
6 tasks done

JournalSheet onRender ignores mode option #8975

Geekswordsman opened this issue Mar 3, 2023 · 1 comment
Assignees
Labels
bug Functionality which is not working as intended journal Issues related to the Journal and Pages systems

Comments

@Geekswordsman
Copy link

What happened?

When attempting to open a JournalSheet in a specific mode, JournalSheet's onRender function does not adhere to the mode option when it is passed.

What ways of accessing Foundry can you encounter this issue in?

  • Native App (Electron)
  • Chrome
  • Firefox
  • Safari
  • Other

Reproduction Steps

Attempt to open a JournalSheet using to a specific view mode using the render method, such as
game.journals.getName("MyJournal").render(true, {mode: JournalSheet.VIEW_MODES.Single});

What core version are you reporting this for?

V10.291

Relevant log output

None

Bug Checklist

  • The issue occurs while all Modules are disabled
@Geekswordsman Geekswordsman added the bug Functionality which is not working as intended label Mar 3, 2023
@aaclayton
Copy link
Contributor

I verified that I was seeing some strange results with sheet.render(true, {mode: 2}) which wasn't producing the expected results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality which is not working as intended journal Issues related to the Journal and Pages systems
Projects
Status: Done
Development

No branches or pull requests

3 participants