Location field problems fixed

This commit is contained in:
Martin Bauer
2019-01-05 12:48:20 +01:00
parent 663185fd40
commit aaf1528426
4 changed files with 6 additions and 8 deletions

View File

@@ -48,11 +48,9 @@ class LocationWidget(widgets.TextInput):
}
# Use schemaless URL so it works with both, http and https websites
js = (
#'//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', # jquery
#'//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js',
'/static/js/jquery-ui-1.10.0.custom.min.js',
#'//maps.google.com/maps/api/js?sensor=false&language=de&key={}'.format(settings.GOOGLE_MAPS_API_KEY),
'//maps.google.com/maps/api/js?sensor=false&language=de',
'//maps.google.com/maps/api/js?sensor=false&language=de&key={}'.format(settings.GOOGLE_MAPS_API_KEY),
#'//maps.google.com/maps/api/js?sensor=false&language=de',
'/static/js/bindWithDelay.js',
'/location_field/media/form.js',
)