Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 155 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

How to reproduce:

  • Open the "mod" menu of an answer that has deleted comments.
  • Select "show X deleted comments"
  • Middle-click the submit button to open the comments in a new tab [might be firefox-only]
  • Select another option in the still-open mod menu
  • Hit submit

This results in a URL such as http://stackoverflow.com/admin/posts/<id>/commentscommentsshow-flags which is invalid and gives you a 404 error.

Apparently hitting the submit button appends the action to the current action of the form so it should be pretty easy to fix.

jForm.attr('action', jForm.attr('action') + jChecked.val());

I'd either store the base URL in a data- attribute or save it in a local variable right before binding the submit event for that form.

share|improve this question

You must log in to answer this question.

Browse other questions tagged .