Quicksand - fix project board page and quicksand
Summary: Fixes T7913. Collapse the separate board dropdown into the board projects behavior; we always need that anyway and now we can install the listener more granularly. Test Plan: - visted project board - invoked create task, cancelled dialog - visited project feed - visited project board - invoked create task, cancelled dialog (FAILED pre patch...!) Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7913 Differential Revision: https://secure.phabricator.com/D12599
This commit is contained in:
@@ -265,15 +265,17 @@ final class PhabricatorProjectBoardViewController
|
||||
->setUser($viewer)
|
||||
->setID($board_id);
|
||||
|
||||
$behavior_config = array(
|
||||
'boardID' => $board_id,
|
||||
'projectPHID' => $project->getPHID(),
|
||||
'moveURI' => $this->getApplicationURI('move/'.$project->getID().'/'),
|
||||
'createURI' => '/maniphest/task/create/',
|
||||
'order' => $this->sortKey,
|
||||
);
|
||||
$this->initBehavior(
|
||||
'project-boards',
|
||||
array(
|
||||
'boardID' => $board_id,
|
||||
'projectPHID' => $project->getPHID(),
|
||||
'moveURI' => $this->getApplicationURI('move/'.$project->getID().'/'),
|
||||
'createURI' => '/maniphest/task/create/',
|
||||
'order' => $this->sortKey,
|
||||
));
|
||||
$behavior_config);
|
||||
$this->addExtraQuickSandConfig(array('boardConfig' => $behavior_config));
|
||||
|
||||
$this->handles = ManiphestTaskListView::loadTaskHandles($viewer, $tasks);
|
||||
|
||||
@@ -340,10 +342,6 @@ final class PhabricatorProjectBoardViewController
|
||||
$board->addPanel($panel);
|
||||
}
|
||||
|
||||
Javelin::initBehavior(
|
||||
'boards-dropdown',
|
||||
array());
|
||||
|
||||
$sort_menu = $this->buildSortMenu(
|
||||
$viewer,
|
||||
$sort_key);
|
||||
|
||||
Reference in New Issue
Block a user