1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-06 09:29:28 +01:00

Fix some bad merging; I landed an old branch for D5502.

Auditors: btrahan
This commit is contained in:
epriestley 2013-03-31 15:19:14 -07:00
parent 787cc1dd82
commit 7b52dd767c
3 changed files with 49 additions and 43 deletions

View file

@ -794,7 +794,7 @@ celerity_register_resource_map(array(
), ),
'aphront-panel-view-css' => 'aphront-panel-view-css' =>
array( array(
'uri' => '/res/3d1420b3/rsrc/css/aphront/panel-view.css', 'uri' => '/res/5600525c/rsrc/css/aphront/panel-view.css',
'type' => 'css', 'type' => 'css',
'requires' => 'requires' =>
array( array(
@ -1253,7 +1253,7 @@ celerity_register_resource_map(array(
), ),
'javelin-behavior-conpherence-menu' => 'javelin-behavior-conpherence-menu' =>
array( array(
'uri' => '/res/2377a63e/rsrc/js/application/conpherence/behavior-menu.js', 'uri' => '/res/2b1d9624/rsrc/js/application/conpherence/behavior-menu.js',
'type' => 'js', 'type' => 'js',
'requires' => 'requires' =>
array( array(
@ -1263,6 +1263,7 @@ celerity_register_resource_map(array(
3 => 'javelin-stratcom', 3 => 'javelin-stratcom',
4 => 'javelin-workflow', 4 => 'javelin-workflow',
5 => 'javelin-behavior-device', 5 => 'javelin-behavior-device',
6 => 'javelin-history',
), ),
'disk' => '/rsrc/js/application/conpherence/behavior-menu.js', 'disk' => '/rsrc/js/application/conpherence/behavior-menu.js',
), ),
@ -2974,7 +2975,7 @@ celerity_register_resource_map(array(
), ),
'phabricator-jump-nav' => 'phabricator-jump-nav' =>
array( array(
'uri' => '/res/2e0e2211/rsrc/css/application/directory/phabricator-jump-nav.css', 'uri' => '/res/b33dd475/rsrc/css/application/directory/phabricator-jump-nav.css',
'type' => 'css', 'type' => 'css',
'requires' => 'requires' =>
array( array(
@ -3804,7 +3805,7 @@ celerity_register_resource_map(array(
), array( ), array(
'packages' => 'packages' =>
array( array(
'4fc2a8f9' => '1f04085c' =>
array( array(
'name' => 'core.pkg.css', 'name' => 'core.pkg.css',
'symbols' => 'symbols' =>
@ -3846,7 +3847,7 @@ celerity_register_resource_map(array(
34 => 'phabricator-object-item-list-view-css', 34 => 'phabricator-object-item-list-view-css',
35 => 'global-drag-and-drop-css', 35 => 'global-drag-and-drop-css',
), ),
'uri' => '/res/pkg/4fc2a8f9/core.pkg.css', 'uri' => '/res/pkg/1f04085c/core.pkg.css',
'type' => 'css', 'type' => 'css',
), ),
'def4c982' => 'def4c982' =>
@ -4037,16 +4038,16 @@ celerity_register_resource_map(array(
'reverse' => 'reverse' =>
array( array(
'aphront-attached-file-view-css' => '6b1fccc6', 'aphront-attached-file-view-css' => '6b1fccc6',
'aphront-dialog-view-css' => '4fc2a8f9', 'aphront-dialog-view-css' => '1f04085c',
'aphront-error-view-css' => '4fc2a8f9', 'aphront-error-view-css' => '1f04085c',
'aphront-form-view-css' => '4fc2a8f9', 'aphront-form-view-css' => '1f04085c',
'aphront-list-filter-view-css' => '4fc2a8f9', 'aphront-list-filter-view-css' => '1f04085c',
'aphront-pager-view-css' => '4fc2a8f9', 'aphront-pager-view-css' => '1f04085c',
'aphront-panel-view-css' => '4fc2a8f9', 'aphront-panel-view-css' => '1f04085c',
'aphront-table-view-css' => '4fc2a8f9', 'aphront-table-view-css' => '1f04085c',
'aphront-tokenizer-control-css' => '4fc2a8f9', 'aphront-tokenizer-control-css' => '1f04085c',
'aphront-tooltip-css' => '4fc2a8f9', 'aphront-tooltip-css' => '1f04085c',
'aphront-typeahead-control-css' => '4fc2a8f9', 'aphront-typeahead-control-css' => '1f04085c',
'differential-changeset-view-css' => '8aaacd1b', 'differential-changeset-view-css' => '8aaacd1b',
'differential-core-view-css' => '8aaacd1b', 'differential-core-view-css' => '8aaacd1b',
'differential-inline-comment-editor' => '67ea27d0', 'differential-inline-comment-editor' => '67ea27d0',
@ -4060,7 +4061,7 @@ celerity_register_resource_map(array(
'differential-table-of-contents-css' => '8aaacd1b', 'differential-table-of-contents-css' => '8aaacd1b',
'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => '4fc2a8f9', 'global-drag-and-drop-css' => '1f04085c',
'inline-comment-summary-css' => '8aaacd1b', 'inline-comment-summary-css' => '8aaacd1b',
'javelin-aphlict' => 'def4c982', 'javelin-aphlict' => 'def4c982',
'javelin-behavior' => 'fe22443b', 'javelin-behavior' => 'fe22443b',
@ -4132,48 +4133,48 @@ celerity_register_resource_map(array(
'javelin-util' => 'fe22443b', 'javelin-util' => 'fe22443b',
'javelin-vector' => 'fe22443b', 'javelin-vector' => 'fe22443b',
'javelin-workflow' => 'fe22443b', 'javelin-workflow' => 'fe22443b',
'lightbox-attachment-css' => '4fc2a8f9', 'lightbox-attachment-css' => '1f04085c',
'maniphest-task-summary-css' => '6b1fccc6', 'maniphest-task-summary-css' => '6b1fccc6',
'maniphest-transaction-detail-css' => '6b1fccc6', 'maniphest-transaction-detail-css' => '6b1fccc6',
'phabricator-busy' => 'def4c982', 'phabricator-busy' => 'def4c982',
'phabricator-content-source-view-css' => '8aaacd1b', 'phabricator-content-source-view-css' => '8aaacd1b',
'phabricator-core-buttons-css' => '4fc2a8f9', 'phabricator-core-buttons-css' => '1f04085c',
'phabricator-core-css' => '4fc2a8f9', 'phabricator-core-css' => '1f04085c',
'phabricator-crumbs-view-css' => '4fc2a8f9', 'phabricator-crumbs-view-css' => '1f04085c',
'phabricator-directory-css' => '4fc2a8f9', 'phabricator-directory-css' => '1f04085c',
'phabricator-drag-and-drop-file-upload' => '67ea27d0', 'phabricator-drag-and-drop-file-upload' => '67ea27d0',
'phabricator-dropdown-menu' => 'def4c982', 'phabricator-dropdown-menu' => 'def4c982',
'phabricator-file-upload' => 'def4c982', 'phabricator-file-upload' => 'def4c982',
'phabricator-filetree-view-css' => '4fc2a8f9', 'phabricator-filetree-view-css' => '1f04085c',
'phabricator-flag-css' => '4fc2a8f9', 'phabricator-flag-css' => '1f04085c',
'phabricator-form-view-css' => '4fc2a8f9', 'phabricator-form-view-css' => '1f04085c',
'phabricator-header-view-css' => '4fc2a8f9', 'phabricator-header-view-css' => '1f04085c',
'phabricator-jump-nav' => '4fc2a8f9', 'phabricator-jump-nav' => '1f04085c',
'phabricator-keyboard-shortcut' => 'def4c982', 'phabricator-keyboard-shortcut' => 'def4c982',
'phabricator-keyboard-shortcut-manager' => 'def4c982', 'phabricator-keyboard-shortcut-manager' => 'def4c982',
'phabricator-main-menu-view' => '4fc2a8f9', 'phabricator-main-menu-view' => '1f04085c',
'phabricator-menu-item' => 'def4c982', 'phabricator-menu-item' => 'def4c982',
'phabricator-nav-view-css' => '4fc2a8f9', 'phabricator-nav-view-css' => '1f04085c',
'phabricator-notification' => 'def4c982', 'phabricator-notification' => 'def4c982',
'phabricator-notification-css' => '4fc2a8f9', 'phabricator-notification-css' => '1f04085c',
'phabricator-notification-menu-css' => '4fc2a8f9', 'phabricator-notification-menu-css' => '1f04085c',
'phabricator-object-item-list-view-css' => '4fc2a8f9', 'phabricator-object-item-list-view-css' => '1f04085c',
'phabricator-object-selector-css' => '8aaacd1b', 'phabricator-object-selector-css' => '8aaacd1b',
'phabricator-paste-file-upload' => 'def4c982', 'phabricator-paste-file-upload' => 'def4c982',
'phabricator-prefab' => 'def4c982', 'phabricator-prefab' => 'def4c982',
'phabricator-project-tag-css' => '6b1fccc6', 'phabricator-project-tag-css' => '6b1fccc6',
'phabricator-remarkup-css' => '4fc2a8f9', 'phabricator-remarkup-css' => '1f04085c',
'phabricator-shaped-request' => '67ea27d0', 'phabricator-shaped-request' => '67ea27d0',
'phabricator-side-menu-view-css' => '4fc2a8f9', 'phabricator-side-menu-view-css' => '1f04085c',
'phabricator-standard-page-view' => '4fc2a8f9', 'phabricator-standard-page-view' => '1f04085c',
'phabricator-textareautils' => 'def4c982', 'phabricator-textareautils' => 'def4c982',
'phabricator-tooltip' => 'def4c982', 'phabricator-tooltip' => 'def4c982',
'phabricator-transaction-view-css' => '4fc2a8f9', 'phabricator-transaction-view-css' => '1f04085c',
'phabricator-zindex-css' => '4fc2a8f9', 'phabricator-zindex-css' => '1f04085c',
'sprite-apps-large-css' => '4fc2a8f9', 'sprite-apps-large-css' => '1f04085c',
'sprite-gradient-css' => '4fc2a8f9', 'sprite-gradient-css' => '1f04085c',
'sprite-icon-css' => '4fc2a8f9', 'sprite-icon-css' => '1f04085c',
'sprite-menu-css' => '4fc2a8f9', 'sprite-menu-css' => '1f04085c',
'syntax-highlighting-css' => '4fc2a8f9', 'syntax-highlighting-css' => '1f04085c',
), ),
)); ));

View file

@ -173,7 +173,7 @@ abstract class ConpherenceController extends PhabricatorController {
protected function buildConpherenceMenuItem($conpherence) { protected function buildConpherenceMenuItem($conpherence) {
$user = $this->getRequest()->getUser(); $user = $this->getRequest()->getUser();
$uri = $this->getApplicationURI('view/'.$conpherence->getID().'/'); $uri = $this->getApplicationURI($conpherence->getID().'/');
$data = $conpherence->getDisplayData( $data = $conpherence->getDisplayData(
$user, $user,
null); null);

View file

@ -1,4 +1,4 @@
<</** /**
* @provides javelin-behavior-conpherence-menu * @provides javelin-behavior-conpherence-menu
* @requires javelin-behavior * @requires javelin-behavior
* javelin-dom * javelin-dom
@ -6,6 +6,7 @@
* javelin-stratcom * javelin-stratcom
* javelin-workflow * javelin-workflow
* javelin-behavior-device * javelin-behavior-device
* javelin-history
*/ */
JX.behavior('conpherence-menu', function(config) { JX.behavior('conpherence-menu', function(config) {
@ -99,6 +100,10 @@ JX.behavior('conpherence-menu', function(config) {
'click', 'click',
'conpherence-menu-click', 'conpherence-menu-click',
function(e) { function(e) {
if (!e.isNormalClick()) {
return;
}
e.kill(); e.kill();
selectthread(e.getNode('conpherence-menu-click')); selectthread(e.getNode('conpherence-menu-click'));
}); });