Use RemarkupControl in Differential inline comment UI
Summary: Fixes T4317. Update the "inline comment" control to a RemarkupControl. This could maybe use some padding/spacing/design touches eventually but seems OK for the moment.
Test Plan: {F101825}
Reviewers: chad, btrahan
Reviewed By: chad
CC: chad, aran
Maniphest Tasks: T4317
Differential Revision: https://secure.phabricator.com/D7969
This commit is contained in:
@@ -235,14 +235,11 @@ abstract class PhabricatorInlineCommentController
|
||||
}
|
||||
|
||||
private function renderTextArea($text) {
|
||||
return javelin_tag(
|
||||
'textarea',
|
||||
array(
|
||||
'class' => 'differential-inline-comment-edit-textarea',
|
||||
'sigil' => 'differential-inline-comment-edit-textarea',
|
||||
'name' => 'text',
|
||||
),
|
||||
$text);
|
||||
return id(new PhabricatorRemarkupControl())
|
||||
->setUser($this->getRequest()->getUser())
|
||||
->setSigil('differential-inline-comment-edit-textarea')
|
||||
->setName('text')
|
||||
->setValue($text);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user