mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Make "Quote" work properly in Pholio
Summary: See <https://discourse.phabricator-community.org/t/quote-comment-missing-on-mock-pages/4155>. Pholio is currently missing a couple of configuration calls to make the "Quote" action work. Moving to EditEngine is the "real" fix, but this fix is trivial and should make "Quote" work properly with no negative effects. Test Plan: Viewed a mock, used "quote" to quote a comment. Differential Revision: https://secure.phabricator.com/D21437
This commit is contained in:
parent
ce0dc9a2ba
commit
79375c6c53
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,8 @@ final class PholioMockViewController extends PholioController {
|
|||
new PholioTransactionQuery());
|
||||
$timeline->setMock($mock);
|
||||
|
||||
$timeline->setQuoteRef($mock->getMonogram());
|
||||
|
||||
$curtain = $this->buildCurtainView($mock);
|
||||
$details = $this->buildDescriptionView($mock);
|
||||
|
||||
|
@ -80,6 +82,7 @@ final class PholioMockViewController extends PholioController {
|
|||
->appendChild($mock_view);
|
||||
|
||||
$add_comment = $this->buildAddCommentView($mock, $comment_form_id);
|
||||
$add_comment->setTransactionTimeline($timeline);
|
||||
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
$crumbs->addTextCrumb($mock->getMonogram(), $mock->getURI());
|
||||
|
|
Loading…
Reference in a new issue