* Finish task #36756.

This commit is contained in:
holan20180123
2021-03-19 17:59:08 +08:00
parent c681e42bfb
commit dd35ed8c5b
4 changed files with 12 additions and 6 deletions
+3 -3
View File
@@ -799,7 +799,6 @@ class testcase extends control
$this->view->title = $product->name . $this->lang->colon . $this->lang->testcase->batchEdit;
}
}
/* The cases of my. */
else
{
/* Get the edited cases. */
@@ -809,9 +808,10 @@ class testcase extends control
->fetchAll('id');
$caseIDList = array_keys($cases);
$this->lang->testcase->menu = $this->lang->my->menu;
$this->lang->testcase->menuOrder = $this->lang->my->menuOrder;
/* The cases of my. */
$this->loadModel('my')->setMenu();
$this->lang->testcase->menu = $this->lang->my->workMenu;
$this->lang->my->menu->myWork['subModule'] = 'testcase';
$this->view->position[] = html::a($this->server->http_referer, $this->lang->my->testCase);
$this->view->title = $this->lang->testcase->batchEdit;
+1
View File
@@ -37,6 +37,7 @@ function loadBranches(product, branch, caseID)
$(function()
{
removeDitto(); //Remove 'ditto' in first row.
$('#subNavbar li[data-id="testcase"]').addClass('active');
});
$(document).on('click', '.chosen-with-drop', function(){oldValue = $(this).prev('select').val();})//Save old value.
+3 -3
View File
@@ -1095,9 +1095,9 @@ class testtask extends control
/* The case of my. */
else
{
$this->lang->testtask->menu = $this->lang->my->menu;
$this->lang->testtask->menuOrder = $this->lang->my->menuOrder;
$this->loadModel('my')->setMenu();
$this->lang->testtask->menu = $this->lang->my->workMenu;
$this->lang->my->menu->myWork['subModule'] = 'testtask';
$this->view->title = $this->lang->testtask->batchRun;
$cases = $this->dao->select('t1.*,t2.id as runID')->from(TABLE_CASE)->alias('t1')
+5
View File
@@ -10,3 +10,8 @@ $(document).on('keyup', 'form input:text', function()
$(preSelect).val('fail');
}
})
$(function()
{
$('#subNavbar li[data-id="testcase"]').addClass('active');
})