* Adjust to get recent executions.

This commit is contained in:
leiyong
2020-12-28 15:27:36 +08:00
parent b8598ce6ce
commit 49134bc66b
5 changed files with 39 additions and 56 deletions

View File

@@ -49,38 +49,6 @@ include 'chosen.html.php';
<?php endif;?>
<script>
$("#menuToggle").bind('click', function()
{
$("#moreExecution").hide();
});
$("#executionList").mouseover(function()
{
$("#moreExecution").show();
});
$("#executionList").mouseout(function()
{
$("#moreExecution").hide();
});
function getExecutions()
{
$("#moreExecution").toggle();
if(!$("#moreExecution").is(':hidden'))
{
$.ajax(
{
url: createLink('project', 'ajaxGetRecentExecutions'),
dataType: 'html',
type: 'post',
success: function(data)
{
$("#executionList").html(data);
}
})
}
}
adjustMenuWidth();
</script>
<main id='main' <?php if(!empty($config->sso->redirect)) echo "class='ranzhiFixedTfootAction'";?> >