Home › Forums › Backend Issues (wp-admin) › Google Maps JS Alert › Reply To: Google Maps JS Alert
Ok, i think i found the reason of this issue.
On creating the map function render of javascript file js/input.js on line 3775 is called.
After creating the map this.update( lat, lng ).center(); is called.
And here on line 3928 the lat and long fields are set with the same values as they already have and a change trigger called. Thats the reason why the page thinks about changes.
uncommenting the .trigger(‘change’); in line 3930 fixes the problem.
the only problem is that changes are not caught, if there are real changes. IMHO the change trigger only should be called on real changes and not on initialization.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.