Differential D20632 Diff 49217 src/applications/project/controller/PhabricatorProjectBoardDefaultController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/controller/PhabricatorProjectBoardDefaultController.php
| Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | if ($request->isFormPost()) { | ||||
| // If the parameter we just modified is present in the query string, | // If the parameter we just modified is present in the query string, | ||||
| // throw it away so the user is redirected back to the default view of | // throw it away so the user is redirected back to the default view of | ||||
| // the board, allowing them to see the new default behavior. | // the board, allowing them to see the new default behavior. | ||||
| $board_uri->removeQueryParam($remove_param); | $board_uri->removeQueryParam($remove_param); | ||||
| return id(new AphrontRedirectResponse())->setURI($board_uri); | return id(new AphrontRedirectResponse())->setURI($board_uri); | ||||
| } | } | ||||
| return $this->newBoardDialog() | return $this->newWorkboardDialog() | ||||
| ->setTitle($title) | ->setTitle($title) | ||||
| ->appendChild($body) | ->appendChild($body) | ||||
| ->addCancelButton($board_uri) | ->addCancelButton($board_uri) | ||||
| ->addSubmitButton($title); | ->addSubmitButton($title); | ||||
| } | } | ||||
| } | } | ||||