1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/webroot/rsrc/js/application/differential
epriestley 67459092d7 Expand comments on page load only when the anchor points into them
Summary:
Ref T3099. Currently, we expand comments in Differential when //any// anchor is present. This creates a scrolling issue described in T3099. Instead, expand them only when the anchor contains `comment`.

We can go further here, but this should fix the immediate issue.

Test Plan: Viewed `/D22`, `/D22#toc`, and `/D22#comment-3`. The first two did not expand comments; the last one did.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3099

Differential Revision: https://secure.phabricator.com/D5836
2013-05-06 11:44:15 -07:00
..
behavior-accept-with-errors.js Toggle accept warnings on reload 2012-12-17 12:31:00 -08:00
behavior-add-reviewers-and-ccs.js Use Javelin placeholders and new sorting rules broadly; consolidate tokenizer construction code 2012-03-09 15:46:39 -08:00
behavior-comment-jump.js Let the viewer collapse/expand individual files in a diff. 2012-06-13 16:52:42 -07:00
behavior-comment-preview.js Handle error in comment preview 2012-10-01 16:12:23 -07:00
behavior-diff-radios.js Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00
behavior-dropdown-menus.js Translate differential-dropdown-menus 2013-04-23 11:09:23 -07:00
behavior-edit-inline-comments.js Fix bug with mousein / mouseout event on comment preview at bottom of page 2012-08-15 15:07:56 -07:00
behavior-keyboard-nav.js Add a preference to completely disable the file tree 2013-02-04 17:00:27 -08:00
behavior-populate.js Stabilize scroll position as diffs load 2013-02-01 10:52:07 -08:00
behavior-show-all-comments.js Expand comments on page load only when the anchor points into them 2013-05-06 11:44:15 -07:00
behavior-show-field-details.js Further improve unit/lint rendering 2012-05-01 10:15:56 -07:00
behavior-show-more.js Fix whitespace and unchanged file shields 2013-01-11 15:27:42 -08:00
behavior-toggle-files.js Don't jump when I open a link on background 2012-08-23 00:13:04 -07:00
behavior-user-select.js Enable selecting text in Differential shield and gap 2012-09-20 15:20:47 -07:00
DifferentialInlineCommentEditor.js Make control + enter submit forms if a textarea is focused 2013-01-28 14:11:32 -08:00