From f136e36bb1854c1eb1fc33ca76c7997cf9df66ae Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 29 Oct 2024 06:06:06 +0000 Subject: [PATCH] * [misc] remove unused code. --- module/execution/ui/ajaxgetdropmenu.html.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/module/execution/ui/ajaxgetdropmenu.html.php b/module/execution/ui/ajaxgetdropmenu.html.php index 3a1fbb9e9d..b3a27e7936 100644 --- a/module/execution/ui/ajaxgetdropmenu.html.php +++ b/module/execution/ui/ajaxgetdropmenu.html.php @@ -52,11 +52,10 @@ foreach($projectExecutions as $projectID => $executions) $group = $executionGroup[$execution->id] = $getExecutionGroup($execution); $item = array(); - $item['id'] = $execution->id; - $item['text'] = $execution->name; - $item['keys'] = zget(common::convert2Pinyin(array($execution->name)), $execution->name, ''); - $item['data-app'] = 'execution'; - $item['url'] = sprintf($link, $execution->id); + $item['id'] = $execution->id; + $item['text'] = $execution->name; + $item['keys'] = zget(common::convert2Pinyin(array($execution->name)), $execution->name, ''); + $item['url'] = sprintf($link, $execution->id); if($execution->type == 'stage') $item['url'] = helper::createLink('execution', 'task', "executionID={$execution->id}"); if($execution->type == 'kanban') $item['url'] = helper::createLink('execution', 'kanban', "execution={$execution->id}");