Fix cancel button on inline comment view
Summary: Switch over to PHUIButtonView Test Plan: Cancel, Edit, Submit new inline diff comment. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18120
This commit is contained in:
@@ -121,14 +121,13 @@ final class PHUIDiffInlineCommentEditView
|
|||||||
private function renderBody() {
|
private function renderBody() {
|
||||||
$buttons = array();
|
$buttons = array();
|
||||||
|
|
||||||
$buttons[] = phutil_tag('button', array(), pht('Save Draft'));
|
$buttons[] = id(new PHUIButtonView())
|
||||||
$buttons[] = javelin_tag(
|
->setText(pht('Save Draft'));
|
||||||
'button',
|
|
||||||
array(
|
$buttons[] = id(new PHUIButtonView())
|
||||||
'sigil' => 'inline-edit-cancel',
|
->setText(pht('Cancel'))
|
||||||
'class' => 'grey',
|
->setColor(PHUIButtonView::GREY)
|
||||||
),
|
->addSigil('inline-edit-cancel');
|
||||||
pht('Cancel'));
|
|
||||||
|
|
||||||
$title = phutil_tag(
|
$title = phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
|
|||||||
Reference in New Issue
Block a user