* Finish task #36756.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -10,3 +10,8 @@ $(document).on('keyup', 'form input:text', function()
|
||||
$(preSelect).val('fail');
|
||||
}
|
||||
})
|
||||
|
||||
$(function()
|
||||
{
|
||||
$('#subNavbar li[data-id="testcase"]').addClass('active');
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user