1
0
Fork 0
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:
epriestley 2015-03-30 13:02:51 -07:00
parent c8529787f3
commit a03527f440

View file

@ -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(