Commit 6c4faf19 authored by Johan Cwiklinski's avatar Johan Cwiklinski
Browse files

Disable not working autocompletion feature to prevent error on unrelated pages

parent 937ab076
......@@ -20,7 +20,8 @@
});
{% if autocomplete %}
$('#ville_adh, #lieu_naissance').autocomplete({
console.log('Autocompletion has to be reworked.');
{#$('#ville_adh, #lieu_naissance').autocomplete({
source: function (request, response) {
$.post('{{ path_for('suggestTown') }}', request, response);
},
......@@ -31,7 +32,7 @@
$.post('{{ path_for('suggestCountry') }}', request, response);
},
minLength: 2
});
});#}
{% endif %}
{% if renew_telemetry is defined %}
......
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