Commit 4647fd4d authored by ccarigna's avatar ccarigna
Browse files

Added lat/long field support

parent 460e5f07
......@@ -51,7 +51,9 @@
city: '',
province: '',
postal_code: '',
country: 'ca'
country: 'ca',
latitude: '',
longitude: ''
}
);
}
......@@ -71,6 +73,8 @@
$('#edit-field-event-location-und-0-province').val(data.province);
$('#edit-field-event-location-und-0-postal-code').val(data.postal_code);
$('#edit-field-event-location-und-0-country').val(data.country);
$('#edit-field-event-location-und-0-locpick-user-latitude').val(data.latitude);
$('#edit-field-event-location-und-0-locpick-user-longitude').val(data.longitude);
}
}(jQuery));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment