* add jump-link in xuanxuan_card which can jump to zentao_extension_page

This commit is contained in:
chaideqing
2021-12-01 11:10:22 +08:00
parent ffb072e2e8
commit 17ba1ea184
18 changed files with 128 additions and 6 deletions
+9
View File
@@ -183,6 +183,9 @@ body {margin-bottom: 25px;}
<strong>
<?php echo $this->execution->getByID($executionID)->name ?>
</strong>
<div class="linkButton" onclick="linkButtonClicked()">
<i class="icon icon-import icon-rotate-270"></i>
</div>
</div>
<?php endif;?>
<div id="mainContent" class="main-row fade">
@@ -474,5 +477,11 @@ $(function()
}
})
});
function linkButtonClicked()
{
$url = window.location.href;
$xxcUrl = "xxc:openInApp/zentao-integrated/" + encodeURIComponent($url.replace(/.display=card/, ''));
window.open($xxcUrl);
}
</script>
<?php include '../../common/view/footer.html.php';?>