Page MenuHomePhabricator

D7819.diff
No OneTemporary

D7819.diff

Index: src/applications/conduit/controller/PhabricatorConduitTokenController.php
===================================================================
--- src/applications/conduit/controller/PhabricatorConduitTokenController.php
+++ src/applications/conduit/controller/PhabricatorConduitTokenController.php
@@ -38,6 +38,8 @@
'After you copy and paste this token, `arc` will complete '.
'the certificate install process for you.');
+ Javelin::initBehavior('select-on-click');
+
$form = id(new AphrontFormView())
->setUser($user)
->appendRemarkupInstructions($pre_instructions)
@@ -45,6 +47,8 @@
id(new AphrontFormTextAreaControl())
->setLabel(pht('Token'))
->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_SHORT)
+ ->setReadonly(true)
+ ->setSigil('select-on-click')
->setValue($token->getToken()))
->appendRemarkupInstructions($post_instructions);
Index: src/applications/settings/panel/PhabricatorSettingsPanelConduit.php
===================================================================
--- src/applications/settings/panel/PhabricatorSettingsPanelConduit.php
+++ src/applications/settings/panel/PhabricatorSettingsPanelConduit.php
@@ -64,6 +64,8 @@
$notice = null;
}
+ Javelin::initBehavior('select-on-click');
+
$cert_form = new AphrontFormView();
$cert_form
->setUser($user)
@@ -77,6 +79,8 @@
id(new AphrontFormTextAreaControl())
->setLabel(pht('Certificate'))
->setHeight(AphrontFormTextAreaControl::HEIGHT_SHORT)
+ ->setReadonly(true)
+ ->setSigil('select-on-click')
->setValue($user->getConduitCertificate()));
$cert_form = id(new PHUIObjectBoxView())

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 10:39 AM (54 m, 57 s ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6738976
Default Alt Text
D7819.diff (1 KB)

Event Timeline