mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
Fix an out-of-order access issue with inlines
Summary: Ref T13513. On `secure`, I caught an issue where inlines may be accessed directly before they're constructed. Instead, access them through the relevant accessor. Test Plan: Will deploy. Maniphest Tasks: T13513 Differential Revision: https://secure.phabricator.com/D21263
This commit is contained in:
parent
e959f93489
commit
93b08f0e83
2 changed files with 21 additions and 19 deletions
|
@ -13,7 +13,7 @@ return array(
|
|||
'core.pkg.js' => '845355f4',
|
||||
'dark-console.pkg.js' => '187792c2',
|
||||
'differential.pkg.css' => '42a2334f',
|
||||
'differential.pkg.js' => '623b4801',
|
||||
'differential.pkg.js' => 'b57da3e7',
|
||||
'diffusion.pkg.css' => '42c75c37',
|
||||
'diffusion.pkg.js' => 'a98c0bf7',
|
||||
'maniphest.pkg.css' => '35995d6d',
|
||||
|
@ -379,7 +379,7 @@ return array(
|
|||
'rsrc/js/application/dashboard/behavior-dashboard-move-panels.js' => 'a2ab19be',
|
||||
'rsrc/js/application/dashboard/behavior-dashboard-query-panel-select.js' => '1e413dc9',
|
||||
'rsrc/js/application/dashboard/behavior-dashboard-tab-panel.js' => '0116d3e8',
|
||||
'rsrc/js/application/diff/DiffChangeset.js' => '68d963eb',
|
||||
'rsrc/js/application/diff/DiffChangeset.js' => '0c083409',
|
||||
'rsrc/js/application/diff/DiffChangesetList.js' => 'ac403c32',
|
||||
'rsrc/js/application/diff/DiffInline.js' => 'b00168c1',
|
||||
'rsrc/js/application/diff/DiffPathView.js' => '8207abf9',
|
||||
|
@ -774,7 +774,7 @@ return array(
|
|||
'phabricator-darklog' => '3b869402',
|
||||
'phabricator-darkmessage' => '26cd4b73',
|
||||
'phabricator-dashboard-css' => '5a205b9d',
|
||||
'phabricator-diff-changeset' => '68d963eb',
|
||||
'phabricator-diff-changeset' => '0c083409',
|
||||
'phabricator-diff-changeset-list' => 'ac403c32',
|
||||
'phabricator-diff-inline' => 'b00168c1',
|
||||
'phabricator-diff-path-view' => '8207abf9',
|
||||
|
@ -1000,6 +1000,19 @@ return array(
|
|||
'javelin-dom',
|
||||
'phabricator-draggable-list',
|
||||
),
|
||||
'0c083409' => array(
|
||||
'javelin-dom',
|
||||
'javelin-util',
|
||||
'javelin-stratcom',
|
||||
'javelin-install',
|
||||
'javelin-workflow',
|
||||
'javelin-router',
|
||||
'javelin-behavior-device',
|
||||
'javelin-vector',
|
||||
'phabricator-diff-inline',
|
||||
'phabricator-diff-path-view',
|
||||
'phuix-button-view',
|
||||
),
|
||||
'0cf79f45' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-stratcom',
|
||||
|
@ -1512,19 +1525,6 @@ return array(
|
|||
'javelin-install',
|
||||
'javelin-dom',
|
||||
),
|
||||
'68d963eb' => array(
|
||||
'javelin-dom',
|
||||
'javelin-util',
|
||||
'javelin-stratcom',
|
||||
'javelin-install',
|
||||
'javelin-workflow',
|
||||
'javelin-router',
|
||||
'javelin-behavior-device',
|
||||
'javelin-vector',
|
||||
'phabricator-diff-inline',
|
||||
'phabricator-diff-path-view',
|
||||
'phuix-button-view',
|
||||
),
|
||||
'6a1583a8' => array(
|
||||
'javelin-behavior',
|
||||
'javelin-history',
|
||||
|
|
|
@ -795,8 +795,10 @@ JX.install('DiffChangeset', {
|
|||
},
|
||||
|
||||
_findInline: function(field, value) {
|
||||
for (var ii = 0; ii < this._inlines.length; ii++) {
|
||||
var inline = this._inlines[ii];
|
||||
var inlines = this.getInlines();
|
||||
|
||||
for (var ii = 0; ii < inlines.length; ii++) {
|
||||
var inline = inlines[ii];
|
||||
|
||||
var target;
|
||||
switch (field) {
|
||||
|
@ -844,7 +846,7 @@ JX.install('DiffChangeset', {
|
|||
},
|
||||
|
||||
redrawFileTree: function() {
|
||||
var inlines = this._inlines;
|
||||
var inlines = this.getInlines();
|
||||
var done = [];
|
||||
var undone = [];
|
||||
var inline;
|
||||
|
|
Loading…
Reference in a new issue