mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Fix an issue where redirects would work incorrectly in Quicksand
Summary: Ref T7061. Quicksand still needs an ajax-style response here. Test Plan: Clicked a file detail page (this redirects) with column open, ended up in the right place. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7061 Differential Revision: https://secure.phabricator.com/D12206
This commit is contained in:
parent
c8529787f3
commit
a03527f440
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ abstract class PhabricatorController extends AphrontController {
|
|||
));
|
||||
}
|
||||
} else if ($response instanceof AphrontRedirectResponse) {
|
||||
if ($request->isAjax()) {
|
||||
if ($request->isAjax() || $request->isQuicksand()) {
|
||||
return id(new AphrontAjaxResponse())
|
||||
->setContent(
|
||||
array(
|
||||
|
|
Loading…
Reference in a new issue