mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
Auditors: 20after4, btrahan
This commit is contained in:
parent
5493c0e58e
commit
d4839f402c
2 changed files with 27 additions and 22 deletions
|
@ -891,7 +891,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'javelin-behavior-phabricator-object-selector' =>
|
'javelin-behavior-phabricator-object-selector' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/6788bf1e/rsrc/js/application/core/behavior-object-selector.js',
|
'uri' => '/res/0c4b0d82/rsrc/js/application/core/behavior-object-selector.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -2127,7 +2127,7 @@ celerity_register_resource_map(array(
|
||||||
'uri' => '/res/pkg/18be02e0/differential.pkg.css',
|
'uri' => '/res/pkg/18be02e0/differential.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'79ad666a' =>
|
'4d8b2d16' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'differential.pkg.js',
|
'name' => 'differential.pkg.js',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -2150,7 +2150,7 @@ celerity_register_resource_map(array(
|
||||||
15 => 'javelin-behavior-differential-dropdown-menus',
|
15 => 'javelin-behavior-differential-dropdown-menus',
|
||||||
16 => 'javelin-behavior-buoyant',
|
16 => 'javelin-behavior-buoyant',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/79ad666a/differential.pkg.js',
|
'uri' => '/res/pkg/4d8b2d16/differential.pkg.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
),
|
),
|
||||||
'4ccda8a6' =>
|
'4ccda8a6' =>
|
||||||
|
@ -2240,7 +2240,7 @@ celerity_register_resource_map(array(
|
||||||
'aphront-typeahead-control-css' => '803864a4',
|
'aphront-typeahead-control-css' => '803864a4',
|
||||||
'differential-changeset-view-css' => '18be02e0',
|
'differential-changeset-view-css' => '18be02e0',
|
||||||
'differential-core-view-css' => '18be02e0',
|
'differential-core-view-css' => '18be02e0',
|
||||||
'differential-inline-comment-editor' => '79ad666a',
|
'differential-inline-comment-editor' => '4d8b2d16',
|
||||||
'differential-local-commits-view-css' => '18be02e0',
|
'differential-local-commits-view-css' => '18be02e0',
|
||||||
'differential-revision-add-comment-css' => '18be02e0',
|
'differential-revision-add-comment-css' => '18be02e0',
|
||||||
'differential-revision-comment-css' => '18be02e0',
|
'differential-revision-comment-css' => '18be02e0',
|
||||||
|
@ -2251,27 +2251,27 @@ celerity_register_resource_map(array(
|
||||||
'diffusion-commit-view-css' => '4ccda8a6',
|
'diffusion-commit-view-css' => '4ccda8a6',
|
||||||
'javelin-behavior' => '4fbae2af',
|
'javelin-behavior' => '4fbae2af',
|
||||||
'javelin-behavior-aphront-basic-tokenizer' => '2af849fb',
|
'javelin-behavior-aphront-basic-tokenizer' => '2af849fb',
|
||||||
'javelin-behavior-aphront-drag-and-drop' => '79ad666a',
|
'javelin-behavior-aphront-drag-and-drop' => '4d8b2d16',
|
||||||
'javelin-behavior-aphront-drag-and-drop-textarea' => '79ad666a',
|
'javelin-behavior-aphront-drag-and-drop-textarea' => '4d8b2d16',
|
||||||
'javelin-behavior-aphront-form-disable-on-submit' => '21d01ed8',
|
'javelin-behavior-aphront-form-disable-on-submit' => '21d01ed8',
|
||||||
'javelin-behavior-buoyant' => '79ad666a',
|
'javelin-behavior-buoyant' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-accept-with-errors' => '79ad666a',
|
'javelin-behavior-differential-accept-with-errors' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-add-reviewers-and-ccs' => '79ad666a',
|
'javelin-behavior-differential-add-reviewers-and-ccs' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-comment-jump' => '79ad666a',
|
'javelin-behavior-differential-comment-jump' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-diff-radios' => '79ad666a',
|
'javelin-behavior-differential-diff-radios' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-dropdown-menus' => '79ad666a',
|
'javelin-behavior-differential-dropdown-menus' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-edit-inline-comments' => '79ad666a',
|
'javelin-behavior-differential-edit-inline-comments' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-feedback-preview' => '79ad666a',
|
'javelin-behavior-differential-feedback-preview' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-keyboard-navigation' => '79ad666a',
|
'javelin-behavior-differential-keyboard-navigation' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-populate' => '79ad666a',
|
'javelin-behavior-differential-populate' => '4d8b2d16',
|
||||||
'javelin-behavior-differential-show-more' => '79ad666a',
|
'javelin-behavior-differential-show-more' => '4d8b2d16',
|
||||||
'javelin-behavior-maniphest-batch-selector' => '86fc0b0c',
|
'javelin-behavior-maniphest-batch-selector' => '86fc0b0c',
|
||||||
'javelin-behavior-maniphest-transaction-controls' => '86fc0b0c',
|
'javelin-behavior-maniphest-transaction-controls' => '86fc0b0c',
|
||||||
'javelin-behavior-maniphest-transaction-expand' => '86fc0b0c',
|
'javelin-behavior-maniphest-transaction-expand' => '86fc0b0c',
|
||||||
'javelin-behavior-maniphest-transaction-preview' => '86fc0b0c',
|
'javelin-behavior-maniphest-transaction-preview' => '86fc0b0c',
|
||||||
'javelin-behavior-phabricator-autofocus' => '21d01ed8',
|
'javelin-behavior-phabricator-autofocus' => '21d01ed8',
|
||||||
'javelin-behavior-phabricator-keyboard-shortcuts' => '21d01ed8',
|
'javelin-behavior-phabricator-keyboard-shortcuts' => '21d01ed8',
|
||||||
'javelin-behavior-phabricator-object-selector' => '79ad666a',
|
'javelin-behavior-phabricator-object-selector' => '4d8b2d16',
|
||||||
'javelin-behavior-phabricator-watch-anchor' => '21d01ed8',
|
'javelin-behavior-phabricator-watch-anchor' => '21d01ed8',
|
||||||
'javelin-behavior-refresh-csrf' => '21d01ed8',
|
'javelin-behavior-refresh-csrf' => '21d01ed8',
|
||||||
'javelin-behavior-workflow' => '21d01ed8',
|
'javelin-behavior-workflow' => '21d01ed8',
|
||||||
|
@ -2299,7 +2299,7 @@ celerity_register_resource_map(array(
|
||||||
'phabricator-core-buttons-css' => '803864a4',
|
'phabricator-core-buttons-css' => '803864a4',
|
||||||
'phabricator-core-css' => '803864a4',
|
'phabricator-core-css' => '803864a4',
|
||||||
'phabricator-directory-css' => '803864a4',
|
'phabricator-directory-css' => '803864a4',
|
||||||
'phabricator-drag-and-drop-file-upload' => '79ad666a',
|
'phabricator-drag-and-drop-file-upload' => '4d8b2d16',
|
||||||
'phabricator-dropdown-menu' => '21d01ed8',
|
'phabricator-dropdown-menu' => '21d01ed8',
|
||||||
'phabricator-jump-nav' => '803864a4',
|
'phabricator-jump-nav' => '803864a4',
|
||||||
'phabricator-keyboard-shortcut' => '21d01ed8',
|
'phabricator-keyboard-shortcut' => '21d01ed8',
|
||||||
|
@ -2308,7 +2308,7 @@ celerity_register_resource_map(array(
|
||||||
'phabricator-object-selector-css' => '18be02e0',
|
'phabricator-object-selector-css' => '18be02e0',
|
||||||
'phabricator-paste-file-upload' => '21d01ed8',
|
'phabricator-paste-file-upload' => '21d01ed8',
|
||||||
'phabricator-remarkup-css' => '803864a4',
|
'phabricator-remarkup-css' => '803864a4',
|
||||||
'phabricator-shaped-request' => '79ad666a',
|
'phabricator-shaped-request' => '4d8b2d16',
|
||||||
'phabricator-standard-page-view' => '803864a4',
|
'phabricator-standard-page-view' => '803864a4',
|
||||||
'phabricator-transaction-view-css' => '803864a4',
|
'phabricator-transaction-view-css' => '803864a4',
|
||||||
'syntax-highlighting-css' => '803864a4',
|
'syntax-highlighting-css' => '803864a4',
|
||||||
|
|
|
@ -150,8 +150,13 @@ JX.behavior('phabricator-object-selector', function(config) {
|
||||||
var phid = data.handle.phid;
|
var phid = data.handle.phid;
|
||||||
|
|
||||||
delete phids[phid];
|
delete phids[phid];
|
||||||
JX.DOM.alterClass(button_list[phid], 'disabled', false);
|
|
||||||
button_list[phid].disabled = false;
|
// NOTE: We may not have a button in the button list, if this result is
|
||||||
|
// not visible in the current search results.
|
||||||
|
if (button_list[phid]) {
|
||||||
|
JX.DOM.alterClass(button_list[phid], 'disabled', false);
|
||||||
|
button_list[phid].disabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
redrawAttached();
|
redrawAttached();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue