From e6c400bd147335aad7d346beb0d3277a092e6511 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 14 Oct 2012 16:27:21 +0100 Subject: [PATCH] Correct field name --- app/assets/javascripts/index/notes.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/notes.js.erb b/app/assets/javascripts/index/notes.js.erb index 9c7d00176..8b440910c 100644 --- a/app/assets/javascripts/index/notes.js.erb +++ b/app/assets/javascripts/index/notes.js.erb @@ -25,7 +25,7 @@ $(document).ready(function () { data: { lon: location.lon, lat: location.lat, - text: $(form.comment).val() + text: $(form.text).val() }, success: function (data) { map.noteSelector.unselect(feature); -- 2.39.5