From e81524fb256cf331fee4b10d08685d6a2379b9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Mon, 21 Feb 2022 11:35:52 +0800 Subject: [PATCH] * code for task #49357. --- extension/lite/execution/ext/model/lite.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extension/lite/execution/ext/model/lite.php b/extension/lite/execution/ext/model/lite.php index 0cacd43f1e..e3c74aa12f 100644 --- a/extension/lite/execution/ext/model/lite.php +++ b/extension/lite/execution/ext/model/lite.php @@ -30,6 +30,7 @@ public function setMenu($executionID, $buildID = 0, $extra = '') $modulePageNav .= ""; if(in_array($this->app->rawMethod, array('task', 'calendar', 'gantt', 'tree', 'grouptask'))) $this->lang->TRActions = $this->getTRActions($this->app->rawMethod); + if(in_array($this->app->rawMethod, array('relation', 'maintainrelation'))) $this->lang->TRActions = $this->getTRActions('gantt'); $this->lang->modulePageNav = $modulePageNav; } @@ -94,7 +95,8 @@ public function getTRActions($currentMethod) $TRActions = ''; $TRActions .= "