From fc61e1c1422fae5dda18e3dda8ddfa18d80f82a7 Mon Sep 17 00:00:00 2001 From: liyuchun <563917701@qq.com> Date: Fri, 15 Jul 2022 06:49:47 +0000 Subject: [PATCH] * Fix bug #25251. --- module/bug/js/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/js/view.js b/module/bug/js/view.js index 503b067367..22aa62bb28 100644 --- a/module/bug/js/view.js +++ b/module/bug/js/view.js @@ -45,7 +45,7 @@ $('#toTaskButton').on('click', function() var link = createLink('task', 'create', 'executionID=' + executionID + '&storyID=0&moduleID=0&taskID=0&todoID=0&extra=projectID=0&bugID=' + bugID); window.parent.$.apps.open(link, 'execution'); } - else if(projectID == 0) + else if(systemMode == 'new' && projectID == 0) { alert(errorNoProject); }