4514: Clicking on "deleted comment" on diff page allows user to edit and save the comment, but the comment flag will be deleted.

joycezhou

What version are you running?

3.0 alpha 0

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

/r/id/diff

What steps will reproduce the problem?

  1. Click on a line number to create a comment, and click "cancel" without writing anything.
  2. When the box for "Comment Deleted" is about to disappear, click on the grey box with "0" in it.
  3. A Comment Dialog is opened!

What is the expected output? What do you see instead?

Expected output: The grey box should not be clickable.
What I saw: I can click the grey box, and save some comment.

What operating system are you using? What browser?

Windows10, Chrome.

Please provide any additional information below.

brennie
#1 brennie
  • -Clicking on "deleted comment" on diff page allows user to edit and save the comment, but the commentBox (the little green box) will be deleted.
    +Clicking on "deleted comment" on diff page allows user to edit and save the comment, but the comment flag will be deleted.
brennie
#2 brennie
  • +Component:DiffViewer