Page MenuHomePhorge

D25109.1737232791.diff
No OneTemporary

D25109.1737232791.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
@@ -28,11 +28,11 @@
}
public function buildManagementPanelCurtain() {
+
$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 18, 20:39 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1110731
Default Alt Text
D25109.1737232791.diff (1 KB)

Event Timeline