]> git.openstreetmap.org Git - rails.git/commitdiff
Correct field name
authorTom Hughes <tom@compton.nu>
Sun, 14 Oct 2012 15:27:21 +0000 (16:27 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 14 Oct 2012 15:27:21 +0000 (16:27 +0100)
app/assets/javascripts/index/notes.js.erb

index 9c7d001763c70d24de6eef64f6fbc36ef0050bd6..8b440910c6105aa050538ed3ae311237f12933bd 100644 (file)
@@ -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);