Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13985189
D16154.id38862.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
716 B
Referenced Files
None
Subscribers
None
D16154.id38862.diff
View Options
diff --git a/src/applications/typeahead/view/PhabricatorTypeaheadTokenView.php b/src/applications/typeahead/view/PhabricatorTypeaheadTokenView.php
--- a/src/applications/typeahead/view/PhabricatorTypeaheadTokenView.php
+++ b/src/applications/typeahead/view/PhabricatorTypeaheadTokenView.php
@@ -126,9 +126,20 @@
$classes[] = $this->getColor();
- return array(
+ $attributes = array(
'class' => $classes,
);
+
+ if (true) {
+ Javelin::initBehavior('phui-hovercards');
+
+ $attributes['sigil'] = 'hovercard';
+ $attributes['meta'] = array(
+ 'hoverPHID' => $this->getKey(),
+ );
+ }
+
+ return $attributes;
}
protected function getTagContent() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 21, 6:39 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739835
Default Alt Text
D16154.id38862.diff (716 B)
Attached To
Mode
D16154: Use hovercards in browse dialog
Attached
Detach File
Event Timeline
Log In to Comment