1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/webroot/rsrc
epriestley 2a7cdcf740 Fix an issue where the repository symbol index would incorrectly activate inside inline comments
Summary:
See PHI185. When looking at a revision, you can Command-Click (Mac) symbols to jump to their definitions (provided the symbol index has been built).

Currently, the code works on any node inside the changeset list, so it activates when clicking links inside inline comments and opening them in a new window.

To avoid this, don't activate if we're inside an inline comment. This technically prevents you from doing a symbol lookup on a symbol inside a codeblock inside an inline, but that seems fine/reasonable.

Test Plan: Wrote `Dxxx` in an inline, command-clicked it. Before: got a symbol lookup. After: just a new tab with the revision.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18753
2017-10-31 15:13:40 -07:00
..
audio/basic Add a few more sounds 2017-04-19 13:47:23 -07:00
css Tweak padding/spacing on Diffusion blame view for profile pictures 2017-10-31 12:56:36 -07:00
externals Hide the Differential scroll objective list on trackpad systems 2017-05-20 07:56:21 -07:00
favicons JX.Favicon for Conpherence 2016-10-20 12:17:50 -07:00
image Uh, update Phabricator login image 2017-08-11 13:37:26 -07:00
js Fix an issue where the repository symbol index would incorrectly activate inside inline comments 2017-10-31 15:13:40 -07:00