From 260a42de0241059fc48979041fb357d671f4b03b Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 16 Mar 2022 09:55:29 +0800 Subject: [PATCH] * Fixed an issue where the console reported an error when editing bugs. --- module/bug/js/common.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/bug/js/common.js b/module/bug/js/common.js index 15b95f7e65..d37463631b 100644 --- a/module/bug/js/common.js +++ b/module/bug/js/common.js @@ -618,6 +618,8 @@ function loadTestTasks(productID, executionID) */ function notice() { + if(page == 'edit') return; + if($('#openedBuild').find('option').length <= 1) { var html = '';