From 50e31148960be08d6a796036383a405a52d1ab29 Mon Sep 17 00:00:00 2001 From: vrana Date: Thu, 12 Apr 2012 21:16:59 -0700 Subject: [PATCH] Link to TOC in very large diff link Test Plan: Visit the link. Reviewers: epriestley, jungejason Reviewed By: jungejason CC: aran Differential Revision: https://secure.phabricator.com/D2224 --- .../revisionview/DifferentialRevisionViewController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php b/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php index b92f5c0429..3578111a63 100644 --- a/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php +++ b/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php @@ -174,7 +174,9 @@ final class DifferentialRevisionViewController extends DifferentialController { phutil_render_tag( 'a', array( - 'href' => $request_uri->alter('large', 'true'), + 'href' => $request_uri + ->alter('large', 'true') + ->setFragment('differential-review-toc'), ), 'Show All Files Inline'). "");