* Fix issue #714.

This commit is contained in:
liumengyi
2022-08-05 10:08:28 +08:00
parent 000038f12f
commit 24a5917b4a
4 changed files with 16 additions and 14 deletions
+1
View File
@@ -1377,6 +1377,7 @@ class testtask extends control
$this->view->title = $this->lang->testtask->batchRun;
$this->view->position[] = $this->lang->testtask->common;
$this->view->position[] = $this->lang->testtask->batchRun;
$this->view->from = $from;
$this->display();
}
+8
View File
@@ -1,3 +1,11 @@
$(function(){
if(from == 'testcase')
{
$("#navbar li[data-id='testtask']").toggleClass('active');
$("#navbar li[data-id='testcase']").toggleClass('active');
}
});
$(document).on('keyup', 'form input:text', function()
{
var preSelect = $(this).parent().prev().find('select');
+2 -1
View File
@@ -11,10 +11,11 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php js::set('from', $from);?>
<?php $this->app->loadLang('testcase'); unset($this->lang->testcase->resultList['n/a']); ?>
<div id='mainContent' class='main-content'>
<div class='main-header'>
<h2><?php echo $lang->testtask->common . $lang->colon . $lang->testtask->batchRun;?></h2>
<h2><?php echo ($from == 'testtask' ? ($lang->testtask->common . $lang->colon) : ''). $lang->testtask->batchRun;?></h2>
</div>
<form class='main-form' method='post' target='hiddenwin'>
<table class='table table-fixed table-form table-bordered'>