Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just upgraded to 7.x.2.8 and I noticed that all my content type with Location fields have a default lat/long inserted. Tried editing the content type and removing the default values but it stays even after saving. Had to revert to 7.x.2.7 in the mean time.
Comment | File | Size | Author |
---|---|---|---|
#5 | gmap-remove-default-location-picker-2121979-5.patch | 550 bytes | klaasvw |
Comments
Comment #1
andyanderso CreditAttribution: andyanderso commentedI have the same issue - any progress?
Comment #2
andyanderso CreditAttribution: andyanderso commentedThis is a problem on lines 70-71 of the lockpic.js file.
This replacement worked for me:
Replace this:
with this:
This just reverts that section of code to the gmap 2.7 version. Do we lose any meaningful functionality by doing this?
Comment #3
podarokComment #4
maenjuelHad the same problem, andyanderso's solution worked for me, thanks!
Comment #5
klaasvw CreditAttribution: klaasvw commentedThis patch applies the fix from #2.
The patch undoes one line from https://drupal.org/node/2068095. It doesn't undo the fix though, users can still select a location, there just won't be a default location set when it wasn't intended.
Comment #6
leahmd CreditAttribution: leahmd commentedThank you for this, it was driving me bonkers. #5 works for me.
Comment #7
podarok#5 commited
Thanks!
Comment #8
bradspry CreditAttribution: bradspry commentedThank you for this!