Skip to content

Commit

Permalink
Don't send comment text when reopening a note
Browse files Browse the repository at this point in the history
Fixes #5359.
  • Loading branch information
tomhughes committed Nov 29, 2024
1 parent 2e1f642 commit 8a020b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/index/note.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ OSM.Note = function (map) {
}
};

if (name !== "subscribe" && name !== "unsubscribe") {
if (name !== "subscribe" && name !== "unsubscribe" && name !== "reopen") {
ajaxSettings.data = { text: $("textarea").val() };
}

Expand Down

0 comments on commit 8a020b3

Please sign in to comment.