2775: Pressing enter after saving comment erases comment

XX1***@gmai***** (Google Code) (Is this you? Claim this profile.)
david
david
Nov. 27, 2012
What version are you running?
1.7 beta

What's the URL of the page containing the problem?
any diff page

What steps will reproduce the problem?
1. click on a line number to add a comment
2. type comment, press tab to focus save button, press enter to save
3. after comment box closes and comment is saved, press enter again

What is the expected output? What do you see instead?
expected: Nothing happens, and the saved comment remains.
observed: The bubble "Comment Saved" appears again, and the saved comment is erased.

What operating system are you using? What browser?
Windows 7, Chrome 22

Please provide any additional information below.
It seems like the save button is retaining focus even after being hidden.
#1 XX1***@gmai***** (Google Code) (Is this you? Claim this profile.)
also observed in Review Board 1.5
david
#2 david
  • +Milestone-Release1.7
david
#3 david
  • +PendingReview
  • +david
david
#4 david
Fixed in release-1.7.x (db00633). Thanks!
  • -PendingReview
    +Fixed