mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
d03a497616
Summary: Ref T12616. When you "Delete" a comment from the preview, we try to delete the comment on screen too. It may or may not be present on screen: if you just added it it's usually visible. However, you might also have hidden the file it contains or it could be on an older diff in a file which is no longer present in the current diff. After updates in T12616, we could only find the comment if you'd previously interacted with it for some reason. Update this code to be able to find all inlines present in the document. Test Plan: - Write a draft comment. - Reload the page. - DO NOT INTERACT WITH THE COMMENT! - Delete it from the preview. - After patch: Comment is deleted from the document, too. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12616 Differential Revision: https://secure.phabricator.com/D17937 |
||
---|---|---|
.. | ||
behavior-preview-link.js | ||
DiffChangeset.js | ||
DiffChangesetList.js | ||
DiffInline.js |