]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/note.js
Don't send comment text when reopening a note
[rails.git] / app / assets / javascripts / index / note.js
index 4e8f64d09c4684ae1827fabf1b6bef95b628ad6a..8687321c92d3bce115d02c6b8973ffd01ebd9124 100644 (file)
@@ -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() };
       }