List of steps to reproduce (step by step, including full links if applicable):
- Go to an arbitrary object page
- Click on edit
- Switch to JSON mode (i.e. {..})
- Make a valid edit
- Click on "Save"
What happens?:
- We get back to the View page, but the change has not been saved
- Also no error message has been shown
What should have happened instead?:
- Either save the change or return an error message with the error
NOTE: The issue just happens if the save button is clicked directly and the focus goes from the JSON container to the save button. if the user clicks outside of the json and triggers a blur event first and then click saves, everything work. Quite probably the issue is the data being fetched and saved before the object is changed (because changeType is async prob)