mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
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:
parent
6f7b31fbf8
commit
21d16c7236
1 changed files with 7 additions and 8 deletions
|
@ -121,14 +121,13 @@ final class PHUIDiffInlineCommentEditView
|
|||
private function renderBody() {
|
||||
$buttons = array();
|
||||
|
||||
$buttons[] = phutil_tag('button', array(), pht('Save Draft'));
|
||||
$buttons[] = javelin_tag(
|
||||
'button',
|
||||
array(
|
||||
'sigil' => 'inline-edit-cancel',
|
||||
'class' => 'grey',
|
||||
),
|
||||
pht('Cancel'));
|
||||
$buttons[] = id(new PHUIButtonView())
|
||||
->setText(pht('Save Draft'));
|
||||
|
||||
$buttons[] = id(new PHUIButtonView())
|
||||
->setText(pht('Cancel'))
|
||||
->setColor(PHUIButtonView::GREY)
|
||||
->addSigil('inline-edit-cancel');
|
||||
|
||||
$title = phutil_tag(
|
||||
'div',
|
||||
|
|
Loading…
Reference in a new issue