Page MenuHomePhabricator

D16154.id38862.diff
No OneTemporary

D16154.id38862.diff

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

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)

Event Timeline