When an Ajax call is made on a page where the Google Maps dynamic formatter is used then I get the following javascript error:
TypeError: settings.geolocationGooglemaps is undefined
in geolocation_googlemaps/geolocation_googlemaps_dynamic_formatter.js

Specifically, I have an Image field on a page where an entity is rendered with the dynamic formatter. When I do the upload I get that error.

I don't know why it works on the initial page load, but the settings variable is supposed to be in Drupal.settings.

Patch to follow.

CommentFileSizeAuthor
#1 javascript_settings-2485465-1.patch816 bytesmalberts
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

malberts’s picture

Status: Active » Needs review
FileSize
816 bytes
malberts’s picture

Issue summary: View changes

derjochenmeyer’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.