From f142145fa5755a483384c8df1e69ab649bdee63f Mon Sep 17 00:00:00 2001 From: wangyuting Date: Mon, 29 Jul 2024 13:22:19 +0800 Subject: [PATCH] * [misc] Delete duplicate mainContent id. --- module/custom/ui/required.html.php | 1 - module/custom/ui/set.html.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/module/custom/ui/required.html.php b/module/custom/ui/required.html.php index 5331ebd410..10aabb2d33 100644 --- a/module/custom/ui/required.html.php +++ b/module/custom/ui/required.html.php @@ -53,7 +53,6 @@ if(common::hasPriv('custom', 'resetRequired')) if(!in_array($module, array('productplan', 'release', 'testsuite', 'testreport', 'caselib', 'doc')) && (!in_array($module, array('project', 'execution')) || (in_array($module, array('project', 'execution')) && $config->vision == 'rnd'))) include 'sidebar.html.php'; div ( - setID('mainContent'), setClass('row has-sidebar-left'), isset($sidebarMenu) ? $sidebarMenu : null, formPanel diff --git a/module/custom/ui/set.html.php b/module/custom/ui/set.html.php index 38b47d7e43..34c74d407a 100644 --- a/module/custom/ui/set.html.php +++ b/module/custom/ui/set.html.php @@ -589,7 +589,6 @@ if(in_array($module, array('story', 'requirement', 'epic')) && $field == 'grade' div ( - setID('mainContent'), setClass('row has-sidebar-left'), $sidebarMenu, formPanel( @@ -627,7 +626,6 @@ else { div ( - setID('mainContent'), setClass('row has-sidebar-left'), isset($sidebarMenu) ? $sidebarMenu : null, formPanel