diff --git a/src/applications/base/controller/PhabricatorController.php b/src/applications/base/controller/PhabricatorController.php --- a/src/applications/base/controller/PhabricatorController.php +++ b/src/applications/base/controller/PhabricatorController.php @@ -447,7 +447,8 @@ public function newPage() { $page = id(new PhabricatorStandardPageView()) ->setRequest($this->getRequest()) - ->setController($this); + ->setController($this) + ->setDeviceReady(true); $application = $this->getCurrentApplication(); if ($application) { @@ -595,8 +596,8 @@ $page->setPageObjectPHIDs($object_phids); } - if (idx($options, 'device', true)) { - $page->setDeviceReady(true); + if (!idx($options, 'device', true)) { + $page->setDeviceReady(false); } $page->setShowFooter(idx($options, 'showFooter', true));