* Fix bug #24752,24747.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php js::set('dittoNotice', $this->lang->bug->dittoNotice);?>
|
||||
<?php js::set('showFields', $showFields);?>
|
||||
<div id='mainContent' class='main-content fade'>
|
||||
<div class='main-header'>
|
||||
<h2><?php echo $lang->bug->common . $lang->colon . $lang->bug->batchEdit;?></h2>
|
||||
|
||||
@@ -28,6 +28,7 @@ js::set('blockID', $blockID);
|
||||
js::set('moduleID', $moduleID);
|
||||
js::set('tab', $this->app->tab);
|
||||
js::set('requiredFields', $config->bug->create->requiredFields);
|
||||
js::set('showFields', $showFields);
|
||||
if($this->app->tab == 'execution') js::set('objectID', $executionID);
|
||||
if($this->app->tab == 'project') js::set('objectID', $projectID);
|
||||
?>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
var $formSetting = $('#formSetting');
|
||||
$formSetting.on('click', '.close-dropdown', function()
|
||||
{
|
||||
if(showFields != undefined)
|
||||
if(typeof showFields != 'undefined')
|
||||
{
|
||||
var fieldList = ',' + showFields + ',';
|
||||
$('#formSettingForm > .checkboxes > .checkbox-primary > input:visible').each(function()
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<?php
|
||||
$dittoNotice = sprintf($this->lang->task->dittoNotice, $lang->executionCommon);
|
||||
js::set('dittoNotice', $dittoNotice);
|
||||
js::set('showFields', $showFields);
|
||||
?>
|
||||
<div id='mainContent' class='main-content fade'>
|
||||
<div class='main-header'>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<?php js::set('confirmUnlinkTesttask', $lang->testcase->confirmUnlinkTesttask);?>
|
||||
<?php js::set('isLibCase', $isLibCase);?>
|
||||
<?php js::set('requiredFields', $config->testcase->edit->requiredFields)?>
|
||||
<?php js::set('showFields', $showFields);?>
|
||||
<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