Differential D12092 Diff 29091 src/applications/conpherence/controller/ConpherenceViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceViewController.php
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | if ($before_transaction_id) { | ||||
'form' => $form, | 'form' => $form, | ||||
); | ); | ||||
} | } | ||||
$title = $this->getConpherenceTitle($conpherence); | $title = $this->getConpherenceTitle($conpherence); | ||||
$content['title'] = $title; | $content['title'] = $title; | ||||
if ($request->isAjax()) { | if ($request->isAjax()) { | ||||
$content['threadID'] = $conpherence->getID(); | |||||
$content['threadPHID'] = $conpherence->getPHID(); | |||||
$content['latestTransactionID'] = $data['latest_transaction_id']; | |||||
return id(new AphrontAjaxResponse())->setContent($content); | return id(new AphrontAjaxResponse())->setContent($content); | ||||
} | } | ||||
$layout = id(new ConpherenceLayoutView()) | $layout = id(new ConpherenceLayoutView()) | ||||
->setBaseURI($this->getApplicationURI()) | ->setBaseURI($this->getApplicationURI()) | ||||
->setThread($conpherence) | ->setThread($conpherence) | ||||
->setHeader($header) | ->setHeader($header) | ||||
->setMessages($messages) | ->setMessages($messages) | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |