disable real estate type selection after first click
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<div class="collection">
|
<div id="realEstateTypeSelection" class="collection">
|
||||||
<% for(const realEstateType of realEstateTypes) { %>
|
<% for(const realEstateType of realEstateTypes) { %>
|
||||||
|
|
||||||
<a class="waves-effect row collection-item"
|
<a class="waves-effect row collection-item"
|
||||||
@@ -78,6 +78,7 @@
|
|||||||
|
|
||||||
function saveAndSubmit(id) {
|
function saveAndSubmit(id) {
|
||||||
$("#realEstateType").val(id);
|
$("#realEstateType").val(id);
|
||||||
|
$("#realEstateTypeSelection > a").attr("onclick", "");
|
||||||
$("#form-real-estate-type").submit();
|
$("#form-real-estate-type").submit();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user