X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aca9bd205e78ac5f5d37489b2583817c178a6f8e..63a4f12550012991fcc8e26acbd0167f1ca9d48e:/app/assets/javascripts/index/note.js diff --git a/app/assets/javascripts/index/note.js b/app/assets/javascripts/index/note.js index 4e8f64d09..e9c51f9bf 100644 --- a/app/assets/javascripts/index/note.js +++ b/app/assets/javascripts/index/note.js @@ -60,8 +60,8 @@ OSM.Note = function (map) { } }; - if (name !== "subscribe" && name !== "unsubscribe") { - ajaxSettings.data = { text: $("textarea").val() }; + if (name !== "subscribe" && name !== "unsubscribe" && name !== "reopen") { + ajaxSettings.data = { text: content.find("textarea").val() }; } content.find("button[name]").prop("disabled", true);