-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Replace angular.fromJson with JSON.parse #7952
Replace angular.fromJson with JSON.parse #7952
Conversation
# Conflicts: # src/Umbraco.Web.UI.Client/src/common/directives/components/forms/umbrawmodel.directive.js
Thanks! 👍 |
It seems this is causing issues now, when inserting e.g. image grid editor in grid content.
where With with just the current change using It seems to be an empty when session storage is empty, where JSON.Parse throw an error. |
@nul800sebastiaan not sure if the issue @lars-erik is having is the same since it is in v8.6.x ... |
@nul800sebastiaan @bjarnef This is not related to #8013, but makes it so you can't even get to #8013. 😆 |
Prerequisites
Fixing this issue https://trello.com/c/uPQwJmDQ/9-replace-instances-of-angularfromjson
If there's an existing issue for this PR then this fixes
Description
I have been replacing all instances of
angular.fromJson
withJSON.parse
. 😃