Просмотр исходного кода

#1039 Location field: search for all possible addresses

Alex Trofimov 8 лет назад
Родитель
Сommit
01b9f56dbd
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      template/form_field_location.html

+ 2 - 2
template/form_field_location.html

@@ -146,8 +146,8 @@
 
             // Create the autocomplete object, restricting the search to geographical location types.
             glBxAutocomplete__name__ = new google.maps.places.Autocomplete(
-                /** @type {!HTMLInputElement} */(document.getElementById('__id_input__')),
-                {types: ['geocode']});
+                /** @type {!HTMLInputElement} */(document.getElementById('__id_input__'))
+            );
 
             // When the user selects an address from the dropdown, populate the address fields in the form.
             glBxAutocomplete__name__.addListener('place_changed', callbackFillInAddress);