diff --git a/resources/celerity/map.php b/resources/celerity/map.php index f734f7c465..be34573f67 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -418,7 +418,7 @@ return array( 'rsrc/js/application/projects/WorkboardBoard.js' => '52291776', 'rsrc/js/application/projects/WorkboardCard.js' => 'c587b80f', 'rsrc/js/application/projects/WorkboardColumn.js' => 'f05d6e5d', - 'rsrc/js/application/projects/WorkboardController.js' => 'fa1378c3', + 'rsrc/js/application/projects/WorkboardController.js' => '55baf5ed', 'rsrc/js/application/projects/behavior-project-boards.js' => '14a1faae', 'rsrc/js/application/projects/behavior-project-create.js' => '065227cc', 'rsrc/js/application/projects/behavior-reorder-columns.js' => 'e1d25dfb', @@ -729,7 +729,7 @@ return array( 'javelin-workboard-board' => '52291776', 'javelin-workboard-card' => 'c587b80f', 'javelin-workboard-column' => 'f05d6e5d', - 'javelin-workboard-controller' => 'fa1378c3', + 'javelin-workboard-controller' => '55baf5ed', 'javelin-workflow' => '5b2e3e2b', 'lightbox-attachment-css' => '7acac05d', 'maniphest-batch-editor' => 'b0f0b6d5', @@ -1253,6 +1253,16 @@ return array( 'javelin-vector', 'javelin-dom', ), + '55baf5ed' => array( + 'javelin-install', + 'javelin-dom', + 'javelin-util', + 'javelin-vector', + 'javelin-stratcom', + 'javelin-workflow', + 'phabricator-drag-and-drop-file-upload', + 'javelin-workboard-board', + ), '56a1ca03' => array( 'javelin-behavior', 'javelin-behavior-device', @@ -2098,16 +2108,6 @@ return array( 'javelin-vector', 'javelin-magical-init', ), - 'fa1378c3' => array( - 'javelin-install', - 'javelin-dom', - 'javelin-util', - 'javelin-vector', - 'javelin-stratcom', - 'javelin-workflow', - 'phabricator-drag-and-drop-file-upload', - 'javelin-workboard-board', - ), 'fb20ac8d' => array( 'javelin-behavior', 'javelin-aphlict', diff --git a/src/applications/project/controller/PhabricatorProjectBoardViewController.php b/src/applications/project/controller/PhabricatorProjectBoardViewController.php index c075072d9f..0d977c2aca 100644 --- a/src/applications/project/controller/PhabricatorProjectBoardViewController.php +++ b/src/applications/project/controller/PhabricatorProjectBoardViewController.php @@ -720,6 +720,7 @@ final class PhabricatorProjectBoardViewController ->setMetadata( array( 'columnPHID' => $column->getPHID(), + 'boardPHID' => $project->getPHID(), 'projectPHID' => $default_phid, )); diff --git a/webroot/rsrc/js/application/projects/WorkboardController.js b/webroot/rsrc/js/application/projects/WorkboardController.js index 5b5f5de181..b284a418dc 100644 --- a/webroot/rsrc/js/application/projects/WorkboardController.js +++ b/webroot/rsrc/js/application/projects/WorkboardController.js @@ -158,14 +158,14 @@ JX.install('WorkboardController', { var column_data = e.getNodeData('column-add-task'); var column_phid = column_data.columnPHID; - var board_phid = column_data.projectPHID; + var board_phid = column_data.boardPHID; var board = this._getBoard(board_phid); var column = board.getColumn(column_phid); var request_data = { responseType: 'card', columnPHID: column.getPHID(), - projects: board.getPHID(), + projects: column_data.projectPHID, visiblePHIDs: column.getCardPHIDs(), order: board.getOrder() };