From a03527f4407428eb379a2872b69ccbdd95f0fe2c Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 30 Mar 2015 13:02:51 -0700 Subject: [PATCH] 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 --- src/applications/base/controller/PhabricatorController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/base/controller/PhabricatorController.php b/src/applications/base/controller/PhabricatorController.php index 0095bfb939..c2a0c565d8 100644 --- a/src/applications/base/controller/PhabricatorController.php +++ b/src/applications/base/controller/PhabricatorController.php @@ -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(