Support

Account

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.