Page MenuHomePhorge

D25109.1736613215.diff
No OneTemporary

D25109.1736613215.diff

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

Mime Type
text/plain
Expires
Sat, Jan 11, 16:33 (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108694
Default Alt Text
D25109.1736613215.diff (1 KB)

Event Timeline