* adjust hide selectAll button when no cases.

This commit is contained in:
wangyidong
2013-01-10 03:28:05 +00:00
parent 247cdf8616
commit fed918ab79
4 changed files with 18 additions and 10 deletions
+2
View File
@@ -86,6 +86,7 @@ var moduleID = '<?php echo $moduleID;?>';
<tfoot>
<tr>
<td colspan='10'>
<?php if($runs):?>
<div class='f-left'>
<?php
echo html::selectAll() . html::selectReverse();
@@ -99,6 +100,7 @@ var moduleID = '<?php echo $moduleID;?>';
<input class='button-s' value="<?php echo $lang->testtask->batchRun; ?>" type="button" onclick="casesform.action='<?php echo inLink('batchRUN', "productID=$productID&orderBy=id_desc&from=testtask");?>';casesform.submit();">
<?php endif;?>
</div>
<?php endif;?>
<?php echo $pager->show();?>
</td>
</tr>
+2
View File
@@ -60,7 +60,9 @@
<tfoot>
<tr>
<td colspan='7'>
<?php if($cases):?>
<div class='f-left'><?php echo html::selectAll() . html::selectReverse() . html::submitButton();?></div>
<?php endif;?>
<div class='f-right'><?php $pager->show();?></div>
</td>
</tr>