Skip to content
Snippets Groups Projects
Commit f0b65e24 authored by webgeer's avatar webgeer
Browse files

Fix geocoding. Still not really right. For it to work, the map id has to be...

Fix geocoding.  Still not really right.  For it to work, the map id has to be nodemap for nodes and usermap for users.

Will fix so it can be any arbitrary map name later
parent 1df3be2b
No related branches found
No related tags found
No related merge requests found
...@@ -732,7 +732,7 @@ function _gmap_location_map_form(&$form, &$edit, $type) { ...@@ -732,7 +732,7 @@ function _gmap_location_map_form(&$form, &$edit, $type) {
'#size'=>30, '#size'=>30,
'#maxlength'=>120, '#maxlength'=>120,
'#id'=>'gmap-address', '#id'=>'gmap-address',
'#attributes'=>array('onchange'=>'gmap_geocodeaddress('.$map['id'].');'), '#attributes'=>array('onchange'=>'gmap_geocodeaddress('.$type.'map)'),
'#description'=>t('The address is used by the geocoding built into Google Maps.'), '#description'=>t('The address is used by the geocoding built into Google Maps.'),
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment