- Remove syncToZentao checkbox.

This commit is contained in:
zhaoke
2023-04-13 09:06:48 +08:00
parent 917d2e9815
commit c596d736e7
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -2400,11 +2400,11 @@ class testcase extends control
if(dao::isError()) return print(js::error(dao::getError()));
if(!empty($_POST['syncToZentao']))
$this->zanode->syncCasesToZentao($_POST['scriptPath']);
// if(!empty($_POST['syncToZentao']))
// $this->zanode->syncCasesToZentao($_POST['scriptPath']);
$nodeID = $_POST['node'];
$node = $this->zanode->getNodeByID($_POST['node']);
// $nodeID = $_POST['node'];
// $node = $this->zanode->getNodeByID($_POST['node']);
$locatelink = $this->createLink('testcase', 'browse', "productID={$_POST['product']}");
$locatelink = str_replace(array('?onlybody=yes', '&onlybody=yes'), '', $locatelink);
+2 -2
View File
@@ -48,10 +48,10 @@
<td>
</td>
</tr>
<tr>
<!-- <tr>
<th></th>
<td><?php echo html::checkbox('syncToZentao', array(1 => $lang->zanode->syncToZentao), '');?></td>
</tr>
</tr> -->
<tr>
<th>
<?php echo $lang->zanode->shell;?>