<p dir="auto">There's no comment textarea on resolved note pages, but pressing <em>Hide</em> if you're a moderator still tries to read a value and submit it as a comment.</p>
<p dir="auto"><a href="https://github.com/user-attachments/assets/5d91489d-977e-4e58-a6e5-dd889cb4a6d5">image.png (view on web)</a></p>
<p dir="auto">With this PR the value is read only if the textarea is present.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5842'>https://github.com/openstreetmap/openstreetmap-website/pull/5842</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5842/commits/da2535ebe48664d570523e1f8ab3d95c8c0bf603" class="commit-link">da2535e</a>  Fix "undefined" comment when hiding resolved notes</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5842/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5842/files#diff-8f18485b763264500054435af432745e2a51b4402140728dc4df89024768b71b">app/assets/javascripts/index/note.js</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5842/files#diff-32cfcb318430fb3d08203335c5d1055d07f7dbbdca8a68f72e36a8c9b9062b2d">test/system/resolve_note_test.rb</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5842.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5842.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5842.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5842.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5842">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNHTK2MNTKUFAKIIYL2WCPHNAVCNFSM6AAAAABZWHVPFGVHI2DSMVQWIX3LMV43ASLTON2WKOZSHE2DINZYGMYDSMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNX3MI4XUFRR3VRYKD2WCPHNA5CNFSM6AAAAABZWHVPFGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHK7BOS6M.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5842</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5842",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5842",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>