* fix xuanxuan 84's bug
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<strong>
|
||||
<?php echo ($this->project->getById($execution->project)->name . ' / ' . $this->execution->getByID($execution->id)->name) ?>
|
||||
</strong>
|
||||
<div class="linkButton" onclick="linkButtonClicked()">
|
||||
<div class="linkButton" onclick="handleLinkButtonClick()">
|
||||
<span title="<?php echo $lang->viewDetails;?>">
|
||||
<i class="icon icon-import icon-rotate-270"></i>
|
||||
</span>
|
||||
@@ -206,11 +206,10 @@
|
||||
<?php js::set('replaceID', 'bugList');?>
|
||||
<?php js::set('browseType', $type);?>
|
||||
<script>
|
||||
function linkButtonClicked()
|
||||
function handleLinkButtonClick()
|
||||
{
|
||||
$url = window.location.href;
|
||||
$xxcUrl = "xxc:openInApp/zentao-integrated/" + encodeURIComponent($url.replace(/.display=card/, ''));
|
||||
window.open($xxcUrl);
|
||||
var xxcUrl = "xxc:openInApp/zentao-integrated/" + encodeURIComponent(window.location.href.replace(/.display=card/, '').replace(/\.xhtml/, '.html'));
|
||||
window.open(xxcUrl);
|
||||
}
|
||||
</script>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user