Clear comment field after a new note is created

This commit is contained in:
Tom Hughes 2013-05-14 00:14:02 +01:00
parent 61dd2af0a0
commit 9aa029af7a

View file

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