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

Uncaught TypeError: n._updateHistoryButtons is not a function #1311

Closed
fengbozhi opened this issue May 7, 2021 · 4 comments
Closed

Uncaught TypeError: n._updateHistoryButtons is not a function #1311

fengbozhi opened this issue May 7, 2021 · 4 comments
Labels

Comments

@fengbozhi
Copy link

Uncaught TypeError: n._updateHistoryButtons is not a function
at jsoneditor.min.js:3508

Version: 9.4.1
The mode value is preview, and the json is set using the .set method. This error occurs

@josdejong
Copy link
Owner

Thanks for reporting. How can I reproduce your issue exactly? I tried to reproduce by adding mode: 'preview' to the options in example 01_basic_usage.html, but no error occurs.

@fengbozhi
Copy link
Author

Sorry, I did not describe clearly, the following is the error and code reproduced using 01_basic_usage.html
image
image

@josdejong josdejong added the bug label May 10, 2021
@josdejong
Copy link
Owner

Thanks, I can reproduce this issue 👍

@josdejong
Copy link
Owner

Fixed now in v9.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants