Skip to content
Snippets Groups Projects
Commit 94442527 authored by Christopher Johnson's avatar Christopher Johnson
Browse files

updates to upstream b596d850ff9d566beedea5e7282150614465e2ef

1 December 2015
note: fixes breaking changes

Change-Id: I657c1bd2b3ee0b08e4c8971a237767c1d93c7155
parent b1992b71
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,8 @@ final class SprintBoardTaskEditController extends ManiphestController {
// in a meaningful way. For now, build User objects. Once the Maniphest
// objects exist, this will switch over automatically. This is a big
// hack but shouldn't be long for this world.
$placeholder_editor = new PhabricatorUserProfileEditor();
$placeholder_editor = id(new PhabricatorUserProfileEditor())
->setActor($viewer);
$field_errors = $aux_field->validateApplicationTransactions(
$placeholder_editor,
......@@ -744,15 +745,16 @@ final class SprintBoardTaskEditController extends ManiphestController {
$crumbs->addTextCrumb($header_name);
return $this->buildApplicationPage(
$title = $header_name;
return $this->newPage()
->setTitle($title)
->setCrumbs($crumbs)
->setPageObjectPHIDs($page_objects)
->appendChild(
array(
$crumbs,
$form_box,
$preview,
),
array(
'title' => $header_name,
'pageObjects' => $page_objects,
));
}
......
......@@ -285,7 +285,6 @@ final class SprintBoardViewController
$this->initSprintBehavior(
'sprint-boards',
$behavior_config);
$this->addExtraQuickSandConfig(array('boardConfig' => $behavior_config));
} else {
$behavior_config = array(
'boardID' => $board_id,
......@@ -297,7 +296,6 @@ final class SprintBoardViewController
$this->initBehavior(
'project-boards',
$behavior_config);
$this->addExtraQuickSandConfig(array('boardConfig' => $behavior_config));
}
$this->handles = ManiphestTaskListView::loadTaskHandles($viewer, $tasks);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment