Implement renting option frontend #65

Merged
bilal.catic merged 8 commits from implement-renting-option-frontend into master 2019-10-31 19:12:43 +01:00
Showing only changes of commit 9612b28c91 - Show all commits

View File

@@ -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>