Page MenuHomePhabricator

D21222.id50541.diff
No OneTemporary

D21222.id50541.diff

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' => '0e3cf785',
'conpherence.pkg.js' => '020aebcf',
'core.pkg.css' => '1b80c45d',
- 'core.pkg.js' => '632fb8f5',
+ 'core.pkg.js' => '1e667bcb',
'dark-console.pkg.js' => '187792c2',
'differential.pkg.css' => '2d70b7b9',
'differential.pkg.js' => '22ec6f26',
@@ -508,7 +508,7 @@
'rsrc/js/core/behavior-tokenizer.js' => '3b4899b0',
'rsrc/js/core/behavior-tooltip.js' => '73ecc1f8',
'rsrc/js/core/behavior-user-menu.js' => '60cd9241',
- 'rsrc/js/core/behavior-watch-anchor.js' => 'e55a1db5',
+ 'rsrc/js/core/behavior-watch-anchor.js' => 'a77e2cbd',
'rsrc/js/core/behavior-workflow.js' => '9623adc1',
'rsrc/js/core/darkconsole/DarkLog.js' => '3b869402',
'rsrc/js/core/darkconsole/DarkMessage.js' => '26cd4b73',
@@ -658,7 +658,7 @@
'javelin-behavior-phabricator-tooltips' => '73ecc1f8',
'javelin-behavior-phabricator-transaction-comment-form' => '2bdadf1a',
'javelin-behavior-phabricator-transaction-list' => '9cec214e',
- 'javelin-behavior-phabricator-watch-anchor' => 'e55a1db5',
+ 'javelin-behavior-phabricator-watch-anchor' => 'a77e2cbd',
'javelin-behavior-pholio-mock-edit' => '3eed1f2b',
'javelin-behavior-pholio-mock-view' => '5aa1544e',
'javelin-behavior-phui-dropdown-menu' => '5cf0501a',
@@ -1874,6 +1874,12 @@
'javelin-install',
'javelin-dom',
),
+ 'a77e2cbd' => array(
+ 'javelin-behavior',
+ 'javelin-stratcom',
+ 'javelin-dom',
+ 'javelin-vector',
+ ),
'a8f573a9' => array(
'javelin-install',
'javelin-dom',
@@ -2122,12 +2128,6 @@
'javelin-dom',
'phuix-dropdown-menu',
),
- 'e55a1db5' => array(
- 'javelin-behavior',
- 'javelin-stratcom',
- 'javelin-dom',
- 'javelin-vector',
- ),
'e5bdb730' => array(
'javelin-behavior',
'javelin-stratcom',
diff --git a/webroot/rsrc/js/core/behavior-watch-anchor.js b/webroot/rsrc/js/core/behavior-watch-anchor.js
--- a/webroot/rsrc/js/core/behavior-watch-anchor.js
+++ b/webroot/rsrc/js/core/behavior-watch-anchor.js
@@ -98,7 +98,15 @@
// If there's an "anchor-container" parent element, we'll make the
// display adjustment to that node instead. For example, this is used
// by the timeline to highlight timeline stories.
- var container = JX.DOM.findAbove(node, null, 'anchor-container');
+
+ var container;
+
+ try {
+ container = JX.DOM.findAbove(node, null, 'anchor-container');
+ } catch (ex) {
+ // Ignore.
+ }
+
if (container) {
display_target = container;
} else {

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 13, 8:30 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7342363
Default Alt Text
D21222.id50541.diff (2 KB)

Event Timeline