Differential D16156 Diff 38869 src/applications/typeahead/controller/PhabricatorTypeaheadModularDatasourceController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/typeahead/controller/PhabricatorTypeaheadModularDatasourceController.php
Show First 20 Lines • Show All 244 Lines • ▼ Show 20 Lines | if (isset($sources[$class])) { | ||||
); | ); | ||||
} | } | ||||
return $this->newDialog() | return $this->newDialog() | ||||
->setWidth(AphrontDialogView::WIDTH_FORM) | ->setWidth(AphrontDialogView::WIDTH_FORM) | ||||
->setRenderDialogAsDiv(true) | ->setRenderDialogAsDiv(true) | ||||
->setTitle($source->getBrowseTitle()) | ->setTitle($source->getBrowseTitle()) | ||||
->appendChild($browser) | ->appendChild($browser) | ||||
->setResizeX(true) | |||||
->setResizeY($frame_id) | |||||
->addFooter($function_help) | ->addFooter($function_help) | ||||
->addCancelButton('/', pht('Close')); | ->addCancelButton('/', pht('Close')); | ||||
} | } | ||||
} else if ($is_browse) { | } else if ($is_browse) { | ||||
return new Aphront404Response(); | return new Aphront404Response(); | ||||
} else { | } else { | ||||
$results = array(); | $results = array(); | ||||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |