﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20983	Spam report not working on second attempt	Bjoeni	stoecker	"When reporting a ticket using the ""report spam"" function, a prompt asks for a comment.

If that is cancelled, the `this.href` (of the link) is set to the document URL (I assume to prevent the spam report from being sent).
When that URL contains a # (e.g. anchor from a comment) the page will not be reloaded, which means the second time (when a valid comment is provided) the href is still set to the ticket URL and the report will never be sent.

See https://josm.openstreetmap.de/chrome/spamfilter/reportspam.js: `event.preventDefault()` should be used instead of changing the href.

Also some kind of feedback that the report was successfully sent would be nice instead of just redirecting back to the ticket."	defect	closed	normal		Trac		fixed		
