What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

Given the discussion here Deleting a comment (mine) shouldn't count as a comment vote as well as many other places on meta Wrong message "You may only submit a comment every five seconds" when deleting multiple comments or Confirmation dialog for deleting a comment does not appear twice etc Incorrect error text when deleting multiple comments within 5 seconds

Why is there no longer a dialog box when I go to1 delete a comment within five seconds of another comment action? Is this a regression bug?

1 oh it was funny to me :p

share|improve this question
    
Ooops, totally missed this report. Fixed in the next build. Give Tim the tick, he's 100% correct. –  balpha Jun 9 '12 at 6:51
    
done and merci. –  jcolebrand Jun 11 '12 at 14:19

1 Answer 1

up vote 12 down vote accepted

.comment-delete's click handler invokes submiteVote(), which makes an incorrect assumption about where you clicked. Specifically, it uses this.jComment.find(".comment-actions") to pass as the error target to .ajax()/StackExchange.helpers.showErrorPopup(), which only exists if the comment that you're "voting" on is not your own.

Since the target doesn't exist in this case, when the server returns the 409 response about rate-limiting your comment voting, the error dialog is appended to an empty jQuery set and therefore isn't visible to the user.

share|improve this answer
1  
Oh good lord man, I knew you had an idea about the problem ... –  jcolebrand Jun 21 '11 at 17:17
    
@jcolebrand Just needed a few minutes ;) –  Tim Stone Jun 21 '11 at 17:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .