Page MenuHomePhabricator

D12538.id30109.diff
No OneTemporary

D12538.id30109.diff

diff --git a/src/view/page/PhabricatorStandardPageView.php b/src/view/page/PhabricatorStandardPageView.php
--- a/src/view/page/PhabricatorStandardPageView.php
+++ b/src/view/page/PhabricatorStandardPageView.php
@@ -633,13 +633,19 @@
if ($console) {
$console_config = $this->getConsoleConfig();
}
+
+ $upload_enabled = false;
+ if ($controller) {
+ $upload_enabled = $controller->isGlobalDragAndDropUploadEnabled();
+ }
+
return array(
'title' => $this->getTitle(),
'aphlictDropdownData' => array(
$dropdown_query->getNotificationData(),
$dropdown_query->getConpherenceData(),
),
- 'globalDragAndDrop' => $controller->isGlobalDragAndDropUploadEnabled(),
+ 'globalDragAndDrop' => $upload_enabled,
'aphlictDropdowns' => $rendered_dropdowns,
'consoleConfig' => $console_config,
) + $this->buildAphlictListenConfigData();

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 6:10 AM (5 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7225401
Default Alt Text
D12538.id30109.diff (922 B)

Event Timeline