Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17494539
D16160.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16160.diff
View Options
diff --git a/src/applications/typeahead/controller/PhabricatorTypeaheadModularDatasourceController.php b/src/applications/typeahead/controller/PhabricatorTypeaheadModularDatasourceController.php
--- a/src/applications/typeahead/controller/PhabricatorTypeaheadModularDatasourceController.php
+++ b/src/applications/typeahead/controller/PhabricatorTypeaheadModularDatasourceController.php
@@ -143,8 +143,6 @@
$items = array();
foreach ($results as $result) {
- $information = $this->renderBrowseResult($result);
-
// Disable already-selected tokens.
$disabled = isset($exclude[$result->getPHID()]);
@@ -161,15 +159,14 @@
),
pht('Select'));
+ $information = $this->renderBrowseResult($result, $button);
+
$items[] = phutil_tag(
'div',
array(
'class' => 'typeahead-browse-item grouped',
),
- array(
- $button,
- $information,
- ));
+ $information);
}
$markup = array(
@@ -352,7 +349,10 @@
->appendChild($view);
}
- private function renderBrowseResult(PhabricatorTypeaheadResult $result) {
+ private function renderBrowseResult(
+ PhabricatorTypeaheadResult $result,
+ $button) {
+
$class = array();
$style = array();
$separator = " \xC2\xB7 ";
@@ -399,6 +399,7 @@
'style' => implode(' ', $style),
),
array(
+ $button,
$name,
$attributes,
));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 5:58 PM (16 h, 49 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8236340
Default Alt Text
D16160.diff (1 KB)
Attached To
Mode
D16160: Push typehead browse result selector button down one <div>
Attached
Detach File
Event Timeline
Log In to Comment