Page MenuHomePhabricator

D14396.id34780.diff
No OneTemporary

D14396.id34780.diff

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));

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 29, 9:11 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7403104
Default Alt Text
D14396.id34780.diff (885 B)

Event Timeline