1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-10-23 17:18:51 +02:00
phorge-phorge/webroot/rsrc/js
epriestley b2ce0844b6 When a user clicks "Cancel" on an inline comment to leave the "Editing" state, save the state change
Summary:
Ref T13513. Now that the "currently being edited" state of inlines is saved on the server side, clear the flag when the user clicks "Cancel" to leave the "editing" state on the client.

This also serves to delete empty comments.

Test Plan:
  - Clicked a line number to create a new comment. Then:
    - Clicked "Cancel". Reloaded page, saw no more comment.
    - Typed text, saved. Reloaded page, saw non-editing draft. Clicked "Edit", reloaded page, saw editing draft. Clicked "Cancel", reloaded page, saw non-editing draft.
    - Typed text, saved. Clicked "Edit", deleted text, saved. Reloaded page, saw no more comment.

Maniphest Tasks: T13513

Differential Revision: https://secure.phabricator.com/D21187
2020-05-04 13:11:23 -07:00
..
application When a user clicks "Cancel" on an inline comment to leave the "Editing" state, save the state change 2020-05-04 13:11:23 -07:00
core Restore highlighting when jumping to transactions using URI anchors 2020-05-04 10:04:04 -07:00
phui Glue the new FormationView on top of the older Filetree view in Differential 2020-04-22 08:29:04 -07:00
phuix Update the "View Options" menu for recent filetree changes 2020-04-23 08:23:12 -07:00