add sussargues to known communes (#6435)
This commit is contained in:
parent
d36ade1918
commit
cf5735b17e
|
@ -65,6 +65,11 @@ $(document).ready(function () {
|
|||
city_to_id_map['Saint-Georges-d\'Orques'] = 'saint-georges';
|
||||
id_to_city_map['saint-georges'] = 'Saint-Georges-d\'Orques';
|
||||
{% endif %}
|
||||
{% if sussargues %}
|
||||
demarches['sussargues'] = {{ sussargues.data|jsonify }};
|
||||
city_to_id_map['Sussargues'] = 'sussargues';
|
||||
id_to_city_map['sussargues'] = 'Sussargues';
|
||||
{% endif %}
|
||||
var city = '{{ user.socialaccount_set.all.0.extra_data.ville }}';
|
||||
var city_id = city_to_id_map[city];
|
||||
if (demarches[city_id] != undefined && demarches[city_id].length > 0) {
|
||||
|
|
Reference in New Issue