Make sure update and edit work for location, API or not.

This commit is contained in:
James Cole
2020-01-02 19:12:40 +01:00
parent f7d6a4c6f9
commit e1577a4a76
6 changed files with 35 additions and 20 deletions

View File

@@ -72,6 +72,9 @@
if (typeof marker !== 'undefined') {
marker.remove();
$('input[name="{{ haslocationvar }}"]').val('false');
$('input[name="{{ latitudevar }}"]').val('');
$('input[name="{{ longitudevar }}"]').val('');
$('input[name="{{ zoomlevelvar }}"]').val('');
}
});
};