Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14394388
D12538.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
928 B
Referenced Files
None
Subscribers
None
D12538.diff
View Options
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
@@ -643,13 +643,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,
'hisecWarningConfig' => $hisec_warning_config,
'consoleConfig' => $console_config,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 1:59 AM (18 h, 44 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6920205
Default Alt Text
D12538.diff (928 B)
Attached To
Mode
D12538: Fix call to isGlobalDragAndDropUploadEnabled() from pages with no controller
Attached
Detach File
Event Timeline
Log In to Comment