From aa07ca383a0bbd3e7490c057fa1dc16466bd9795 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 21 Mar 2024 10:54:05 +0800 Subject: [PATCH] + Fix bug #46450, set active menu when batch editing stories in testcase::zeroCase. --- module/story/js/batchedit.ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/module/story/js/batchedit.ui.js b/module/story/js/batchedit.ui.js index a66f04e570..212d37a08f 100644 --- a/module/story/js/batchedit.ui.js +++ b/module/story/js/batchedit.ui.js @@ -1,6 +1,7 @@ $(function() { $('#mainNavbar .nav .nav-item').find("[href$='" + storyType + "']").addClass('active'); + if($.apps.currentCode == 'qa' && $('#mainNavbar .nav .nav-item').find("[href$='" + storyType + "']").length == 0) $('#navbar .nav .nav-item').find("[data-id='testcase']").addClass('active'); }); window.renderRowData = function($row, index, story)