Differential D17314 Diff 41641 src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php
Show All 28 Lines | if ($request->isAjax()) { | ||||
} | } | ||||
} else { | } else { | ||||
$parent_phids = array(); | $parent_phids = array(); | ||||
} | } | ||||
$rendered_panel = id(new PhabricatorDashboardPanelRenderingEngine()) | $rendered_panel = id(new PhabricatorDashboardPanelRenderingEngine()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->setPanel($panel) | ->setPanel($panel) | ||||
->setPanelPHID($panel->getPHID()) | |||||
->setParentPanelPHIDs($parent_phids) | ->setParentPanelPHIDs($parent_phids) | ||||
->setHeaderMode($request->getStr('headerMode')) | ->setHeaderMode($request->getStr('headerMode')) | ||||
->setDashboardID($request->getInt('dashboardID')) | ->setDashboardID($request->getInt('dashboardID')) | ||||
->renderPanel(); | ->renderPanel(); | ||||
if ($request->isAjax()) { | if ($request->isAjax()) { | ||||
return id(new AphrontAjaxResponse()) | return id(new AphrontAjaxResponse()) | ||||
->setContent( | ->setContent( | ||||
Show All 23 Lines |