disable real estate type selection after first click

This commit is contained in:
Bilal Catic
2019-10-31 00:43:20 +01:00
parent aab32fc608
commit 9612b28c91

View File

@@ -18,7 +18,7 @@
</div>
<br>
<div class="collection">
<div id="realEstateTypeSelection" class="collection">
<% for(const realEstateType of realEstateTypes) { %>
<a class="waves-effect row collection-item"
@@ -78,6 +78,7 @@
function saveAndSubmit(id) {
$("#realEstateType").val(id);
$("#realEstateTypeSelection > a").attr("onclick", "");
$("#form-real-estate-type").submit();
}
</script>