aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/around/intro.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich/around/intro.html')
-rw-r--r--templates/web/zurich/around/intro.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/web/zurich/around/intro.html b/templates/web/zurich/around/intro.html
index c113afca7..f7a4904e3 100644
--- a/templates/web/zurich/around/intro.html
+++ b/templates/web/zurich/around/intro.html
@@ -1 +1,16 @@
<h1>[% loc('Report, view, or discuss local problems') %]</h1>
+
+<!-- FIXME Better place for this -->
+<script>
+ $(function() {
+ $( "#pc" ).autocomplete({
+ minLength: 3,
+ select: function(event, ui) {
+ $(this).val(ui.item.value);
+ this.form.submit();
+ return true;
+ },
+ source: "/ajax/geocode"
+ });
+ });
+</script>