* Restore code.

This commit is contained in:
tianshujie98
2021-01-04 10:42:31 +08:00
parent b2c962d4d4
commit f0875ea27a
6 changed files with 3 additions and 7 deletions

View File

@@ -508,7 +508,7 @@ function notice()
else
{
projectID = $('#project').val();
html += '<a href="' + createLink('build', 'create','projectID=' + projectID, '', '', PRJID) + '" target="_blank" style="padding-right:5px">' + createBuild + '</a> ';
html += '<a href="' + createLink('build', 'create','projectID=' + projectID) + '" target="_blank" style="padding-right:5px">' + createBuild + '</a> ';
html += '<a href="javascript:loadProjectBuilds(' + projectID + ')">' + refresh + '</a>';
}
var $bba = $('#buildBoxActions');

View File

@@ -23,7 +23,6 @@ js::set('flow', $config->global->flow);
js::set('stepsRequired', $stepsRequired);
js::set('stepsNotEmpty', $lang->bug->stepsNotEmpty);
js::set('isStepsTemplate', $isStepsTemplate);
js::set('PRJID', $this->session->PRJ);
?>
<div id="mainContent" class="main-content fade">
<div class="center-block">

View File

@@ -11,7 +11,6 @@
*/
?>
<?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>
@@ -31,7 +30,7 @@ function createBug(obj)
var onlybody = config.onlybody;
config.onlybody = 'no';
window.open(createLink('bug', 'create', params + ',stepIdList=' + stepIdList, '', '', PRJID), '_blank');
window.open(createLink('bug', 'create', params + ',stepIdList=' + stepIdList), '_blank');
config.onlybody = onlybody;
}

View File

@@ -54,7 +54,7 @@ function createBug(obj)
var onlybody = config.onlybody;
config.onlybody = 'no';
window.open(createLink('bug', 'create', params + ',stepIdList=' + stepIdList, '', '', PRJID), '_blank');
window.open(createLink('bug', 'create', params + ',stepIdList=' + stepIdList), '_blank');
config.onlybody = onlybody;
}

View File

@@ -11,7 +11,6 @@
*/
?>
<?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>

View File

@@ -13,7 +13,6 @@
<?php include '../../common/view/header.lite.html.php';?>
<?php include '../../common/view/form.html.php';?>
<?php js::set('caseResultSave', $lang->save);?>
<?php js::set('PRJID', $this->session->PRJ);?>
<div id='mainContent' class='main-content'>
<div class='main-header'>
<h2>