* replace xhtml to html when click card

This commit is contained in:
chaideqing
2022-07-13 10:54:12 +08:00
parent 3532e82841
commit 69f20c1205
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ $(function()
<?php if($this->app->getViewType() == 'xhtml'):?>
function handleLinkButtonClick()
{
var xxcUrl = "xxc:openInApp/zentao-integrated/" + encodeURIComponent(window.location.href.replace(/.display=card/, '').replace(/\.xhtml/, '.html'));
var xxcUrl = "xxc:openInApp/zentao-integrated/" + encodeURIComponent(window.location.href.replace(/.display=card/, '').replace('xhtml', 'html'));
window.open(xxcUrl);
}