Home › Forums › Backend Issues (wp-admin) › Google Maps JS Alert › Reply To: Google Maps JS Alert
following piece of code, put after setting the lat lng fields (line 3927), fixes all problems for me.
// fire the change trigger only on real changes
var oldLat = this.$el.find(‘.input-lat’).val();
var oldLng = this.$el.find(‘.input-lng’).val( lng );
if (oldLat != lat || oldLng != lng) {
this.$el.trigger(‘change’);
}
Would be fine to have this fixed in one of the next releases.
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.