@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

make transaction edits work

Summary: Fixes T3621. We had a fatal from a non-existent function. Also changes form to full width.

Test Plan: edited and it worked! looked better too!

Reviewers: epriestley, chad

Reviewed By: chad

CC: aran, Korvin

Maniphest Tasks: T3621

Differential Revision: https://secure.phabricator.com/D6571

+6 -3
+6 -3
src/applications/transactions/controller/PhabricatorApplicationTransactionCommentEditController.php
··· 49 49 50 50 $editor = id(new PhabricatorApplicationTransactionCommentEditor()) 51 51 ->setActor($user) 52 - ->setContentSourceFromRequest($request) 52 + ->setContentSource(PhabricatorContentSource::newFromRequest($request)) 53 53 ->applyEdit($xaction, $comment); 54 54 55 55 if ($request->isAjax()) { ··· 69 69 $dialog 70 70 ->addHiddenInput('anchor', $request->getStr('anchor')) 71 71 ->appendChild( 72 - id(new PhabricatorRemarkupControl()) 72 + id(new AphrontFormLayoutView()) 73 + ->setFullWidth(true) 74 + ->appendChild( 75 + id(new PhabricatorRemarkupControl()) 73 76 ->setName('text') 74 - ->setValue($xaction->getComment()->getContent())); 77 + ->setValue($xaction->getComment()->getContent()))); 75 78 76 79 $dialog 77 80 ->addSubmitButton(pht('Edit Comment'))