Clear comment field after a new note is created
This commit is contained in:
parent
61dd2af0a0
commit
9aa029af7a
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ $(document).ready(function () {
|
|||
text: $(form.text).val()
|
||||
},
|
||||
success: function (feature) {
|
||||
$(marker._popup._content).find("textarea").val("");
|
||||
|
||||
notes[feature.properties.id] = updateMarker(marker, feature);
|
||||
newNote = null;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue