Added real estate ad edit ability

This commit is contained in:
Naida Vatric
2020-03-25 16:33:21 +01:00
parent 3fa9804ca6
commit 11848cc0bb
6 changed files with 52 additions and 10 deletions

View File

@@ -107,7 +107,7 @@
//Move map and marker to already selected position if in editing mode
if( editingRealEstate===true) {
console.log('Editujem mapu!');
//console.log('Editujem mapu!');
setMarkerToLocation(map, editingRealEstate);
}

View File

@@ -1,7 +1,4 @@
<br>
<% if(editingRealEstate) { %>
<div>Editujem oglas!</div>
<% } %>
<form id="publishForm" method="POST" novalidate >
<div class="row">