disable real estate type selection after first click
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user