Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15424072
D18120.id43601.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
877 B
Referenced Files
None
Subscribers
None
D18120.id43601.diff
View Options
diff --git a/src/infrastructure/diff/view/PHUIDiffInlineCommentEditView.php b/src/infrastructure/diff/view/PHUIDiffInlineCommentEditView.php
--- a/src/infrastructure/diff/view/PHUIDiffInlineCommentEditView.php
+++ b/src/infrastructure/diff/view/PHUIDiffInlineCommentEditView.php
@@ -121,14 +121,13 @@
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',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 23, 8:02 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706809
Default Alt Text
D18120.id43601.diff (877 B)
Attached To
Mode
D18120: Fix cancel button on inline comment view
Attached
Detach File
Event Timeline
Log In to Comment