Differential D10900 Diff 26187 src/applications/transactions/controller/PhabricatorApplicationTransactionCommentEditController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/controller/PhabricatorApplicationTransactionCommentEditController.php
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
$dialog | $dialog | ||||
->addHiddenInput('anchor', $request->getStr('anchor')) | ->addHiddenInput('anchor', $request->getStr('anchor')) | ||||
->appendChild( | ->appendChild( | ||||
id(new PHUIFormLayoutView()) | id(new PHUIFormLayoutView()) | ||||
->setFullWidth(true) | ->setFullWidth(true) | ||||
->appendChild( | ->appendChild( | ||||
id(new PhabricatorRemarkupControl()) | id(new PhabricatorRemarkupControl()) | ||||
->setUser($user) | |||||
->setName('text') | ->setName('text') | ||||
->setValue($xaction->getComment()->getContent()))); | ->setValue($xaction->getComment()->getContent()))); | ||||
$dialog | $dialog | ||||
->addSubmitButton(pht('Save Changes')) | ->addSubmitButton(pht('Save Changes')) | ||||
->addCancelButton($obj_handle->getURI()); | ->addCancelButton($obj_handle->getURI()); | ||||
return id(new AphrontDialogResponse())->setDialog($dialog); | return id(new AphrontDialogResponse())->setDialog($dialog); | ||||
} | } | ||||
} | } |