Fix two issues with Differential Transactions
Summary: With symbols, the transactions fataled on `getID()`. Also my line number sorting was a bit goofy. Auditors: btrahan
This commit is contained in:
@@ -262,11 +262,19 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
||||
$revision,
|
||||
$changesets);
|
||||
|
||||
$wrap_id = celerity_generate_unique_node_id();
|
||||
$comment_view = phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
'id' => $wrap_id,
|
||||
),
|
||||
$comment_view);
|
||||
|
||||
if ($arc_project) {
|
||||
Javelin::initBehavior(
|
||||
'repository-crossreference',
|
||||
array(
|
||||
'section' => $comment_view->getID(),
|
||||
'section' => $wrap_id,
|
||||
'projects' => $project_phids,
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user