mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Minor, unbreak other changeset APIs.
This commit is contained in:
parent
b537d1ec01
commit
4c147b496c
3 changed files with 12 additions and 3 deletions
|
@ -53,6 +53,9 @@ final class DiffusionDiffController extends DiffusionController {
|
|||
$output = $parser->render($range_s, $range_e, $mask);
|
||||
|
||||
return id(new AphrontAjaxResponse())
|
||||
->setContent($output);
|
||||
->setContent(
|
||||
array(
|
||||
'changeset' => $output,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -72,7 +72,10 @@ final class ManiphestTaskDescriptionChangeController
|
|||
$view->setRenderFullSummary(true);
|
||||
$view->setRangeSpecification($request->getStr('range'));
|
||||
|
||||
return id(new AphrontAjaxResponse())->setContent($view->render());
|
||||
return id(new AphrontAjaxResponse())->setContent(
|
||||
array(
|
||||
'changeset' => $view->render(),
|
||||
));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -93,7 +93,10 @@ final class PhrictionDiffController
|
|||
$output = $parser->render($range_s, $range_e, $mask);
|
||||
|
||||
if ($request->isAjax()) {
|
||||
return id(new AphrontAjaxResponse())->setContent($output);
|
||||
return id(new AphrontAjaxResponse())->setContent(
|
||||
array(
|
||||
'changeset' => $output,
|
||||
));
|
||||
}
|
||||
|
||||
require_celerity_resource('differential-changeset-view-css');
|
||||
|
|
Loading…
Reference in a new issue