From f73a05dbb4ef4a47966b61beaea5ce1d519d5233 Mon Sep 17 00:00:00 2001 From: sunhao Date: Fri, 8 Dec 2023 11:16:03 +0800 Subject: [PATCH] * Fix click dropmenu item not load page as expected. --- module/branch/ui/ajaxgetdropmenu.html.php | 1 - module/testtask/ui/ajaxgetdropmenu.html.php | 1 - 2 files changed, 2 deletions(-) diff --git a/module/branch/ui/ajaxgetdropmenu.html.php b/module/branch/ui/ajaxgetdropmenu.html.php index c9b54dc031..6a05d1458c 100644 --- a/module/branch/ui/ajaxgetdropmenu.html.php +++ b/module/branch/ui/ajaxgetdropmenu.html.php @@ -21,7 +21,6 @@ foreach($branches as $branchID => $branchName) $item['type'] = 'branch'; $item['keys'] = zget($branchesPinyin, $branchName, ''); $item['active'] = $branchID == $currentBranchID || (empty($branchID) && empty($currentBranchID)); - $item['data-load'] = '#main, #heading'; if($branchID == 'all' || empty($branchID) || $statusList[$branchID] == 'active') { diff --git a/module/testtask/ui/ajaxgetdropmenu.html.php b/module/testtask/ui/ajaxgetdropmenu.html.php index 3600bd332c..542cd9f1b5 100644 --- a/module/testtask/ui/ajaxgetdropmenu.html.php +++ b/module/testtask/ui/ajaxgetdropmenu.html.php @@ -26,7 +26,6 @@ foreach($testtasks as $testtask) $item['url'] = sprintf($link, $testtask->id); $item['type'] = 'item'; $item['data-app'] = $app->tab; - $item['data-load'] = '#main, #testtask-dropmenu'; $data[] = $item; }