Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2862903
D25109.1736453995.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25109.1736453995.diff
View Options
diff --git a/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php b/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php
--- a/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php
+++ b/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php
@@ -31,8 +31,7 @@
$repository = $this->getRepository();
$viewer = $this->getViewer();
- $action_list = id(new PhabricatorActionListView())
- ->setViewer($viewer);
+ $action_list = $this->newActionList();
$can_edit = PhabricatorPolicyFilter::hasCapability(
$viewer,
diff --git a/src/applications/diffusion/management/DiffusionRepositoryManagementPanel.php b/src/applications/diffusion/management/DiffusionRepositoryManagementPanel.php
--- a/src/applications/diffusion/management/DiffusionRepositoryManagementPanel.php
+++ b/src/applications/diffusion/management/DiffusionRepositoryManagementPanel.php
@@ -111,6 +111,9 @@
final protected function newActionList() {
$viewer = $this->getViewer();
+
+ // Generating this ID allows to spawn the "Actions" menu
+ // on mobile on the header
$action_id = celerity_generate_unique_node_id();
return id(new PhabricatorActionListView())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 20:19 (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108694
Default Alt Text
D25109.1736453995.diff (1 KB)
Attached To
Mode
D25109: Diffusion: fix missing mobile "Actions" from Manage Repo
Attached
Detach File
Event Timeline
Log In to Comment