Merge branch 'fixbug_sunjun_21618' into 'master'
Fixbug sunjun 21618 See merge request easycorp/zentaopms!2859
This commit is contained in:
@@ -1094,6 +1094,7 @@ class testcase extends control
|
||||
$this->view->cases = $cases;
|
||||
$this->view->forceNotReview = $this->testcase->forceNotReview();
|
||||
$this->view->modulePairs = $modulePairs;
|
||||
$this->view->isLibCase = $type == 'lib' ? true : false;
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -40,6 +40,16 @@ function loadBranches(product, branch, caseID)
|
||||
loadStories(product, 0, caseID);
|
||||
}
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
/* Set secondary menu highlighting. */
|
||||
if(isLibCase)
|
||||
{
|
||||
$('#navbar li[data-id=caselib]').addClass('active');
|
||||
$('#navbar li[data-id=testcase]').removeClass('active');
|
||||
}
|
||||
})
|
||||
|
||||
$(function()
|
||||
{
|
||||
removeDitto(); //Remove 'ditto' in first row.
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php js::set('dittoNotice', $this->lang->testcase->dittoNotice);?>
|
||||
<?php js::set('productID', $productID);?>
|
||||
<?php js::set('isLibCase', $isLibCase);?>
|
||||
<div id="mainContent" class="main-content">
|
||||
<div class="main-header">
|
||||
<h2><?php echo $lang->testcase->common . $lang->colon . $lang->testcase->batchEdit;?></h2>
|
||||
|
||||
Reference in New Issue
Block a user