Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3529071
D25965.1744858974.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
2 KB
Referenced Files
None
Subscribers
None
D25965.1744858974.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -10,7 +10,7 @@
'conpherence.pkg.css' => '3144a5e2',
'conpherence.pkg.js' => '020aebcf',
'core.pkg.css' => '10815c8e',
- 'core.pkg.js' => 'f58c3c6e',
+ 'core.pkg.js' => '813d8cbd',
'dark-console.pkg.js' => '187792c2',
'differential.pkg.css' => '91ac6214',
'differential.pkg.js' => '46fcb3af',
@@ -480,7 +480,7 @@
'rsrc/js/core/behavior-global-drag-and-drop.js' => '1cab0e9a',
'rsrc/js/core/behavior-high-security-warning.js' => 'dae2d55b',
'rsrc/js/core/behavior-history-install.js' => '6a1583a8',
- 'rsrc/js/core/behavior-hovercard.js' => '183738e6',
+ 'rsrc/js/core/behavior-hovercard.js' => '0a4b35f2',
'rsrc/js/core/behavior-keyboard-pager.js' => '1325b731',
'rsrc/js/core/behavior-keyboard-shortcuts.js' => '42c44e8b',
'rsrc/js/core/behavior-lightbox-attachments.js' => '14c7ab36',
@@ -665,7 +665,7 @@
'javelin-behavior-pholio-mock-view' => '5aa1544e',
'javelin-behavior-phui-dropdown-menu' => '5cf0501a',
'javelin-behavior-phui-file-upload' => 'e150bd50',
- 'javelin-behavior-phui-hovercards' => '183738e6',
+ 'javelin-behavior-phui-hovercards' => '0a4b35f2',
'javelin-behavior-phui-selectable-list' => 'b26a41e4',
'javelin-behavior-phui-submenu' => 'b5e9bff9',
'javelin-behavior-phui-tab-group' => '242aa08b',
@@ -991,6 +991,14 @@
'herald-rule-editor',
'javelin-behavior',
),
+ '0a4b35f2' => array(
+ 'javelin-behavior',
+ 'javelin-behavior-device',
+ 'javelin-stratcom',
+ 'javelin-vector',
+ 'phui-hovercard',
+ 'phui-hovercard-list',
+ ),
'0ad8d31f' => array(
'javelin-behavior',
'javelin-stratcom',
@@ -1041,14 +1049,6 @@
'phuix-icon-view',
'phabricator-busy',
),
- '183738e6' => array(
- 'javelin-behavior',
- 'javelin-behavior-device',
- 'javelin-stratcom',
- 'javelin-vector',
- 'phui-hovercard',
- 'phui-hovercard-list',
- ),
'194e8160' => array(
'aphront-typeahead-control-css',
'phui-tag-view-css',
diff --git a/webroot/rsrc/js/core/behavior-hovercard.js b/webroot/rsrc/js/core/behavior-hovercard.js
--- a/webroot/rsrc/js/core/behavior-hovercard.js
+++ b/webroot/rsrc/js/core/behavior-hovercard.js
@@ -32,8 +32,11 @@
}
var node = e.getNode('hovercard');
- var data = e.getNodeData('hovercard').hovercardSpec;
+ if (node.closest('.jx-hovercard-container')) {
+ return;
+ }
+ var data = e.getNodeData('hovercard').hovercardSpec;
var card = cards.getCard(data);
cards.drawCard(card, node);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 17, 03:02 (3 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1304846
Default Alt Text
D25965.1744858974.diff (2 KB)
Attached To
Mode
D25965: Disable opening of hovercard if trigger node is inside hovercard
Attached
Detach File
Event Timeline
Log In to Comment