* Add PRJ.

This commit is contained in:
tianshujie98
2021-01-01 14:50:53 +08:00
parent 9d7aa70bbb
commit f353c56b70
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -11,6 +11,7 @@
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<?php js::set('PRJID', $this->session->PRJ);?>
<div id='mainContent' class='main-content'>
<div class='main-header'>
<h2><?php echo $lang->testcase->createBug;?></h2>
@@ -30,7 +31,7 @@ function createBug(obj)
var onlybody = config.onlybody;
config.onlybody = 'no';
window.open(createLink('bug', 'create', params + ',stepIdList=' + stepIdList), '_blank');
window.open(createLink('bug', 'create', params + ',stepIdList=' + stepIdList, '', '', PRJID), '_blank');
config.onlybody = onlybody;
}