diff --git a/extension/lite/product/ext/view/browse.html.php b/extension/lite/product/ext/view/browse.html.php index 4b5b79ac3e..d7cff9a3e1 100644 --- a/extension/lite/product/ext/view/browse.html.php +++ b/extension/lite/product/ext/view/browse.html.php @@ -591,7 +591,7 @@ function setBadgeStyle(obj, isShow) 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); } diff --git a/extension/lite/story/ext/view/view.html.php b/extension/lite/story/ext/view/view.html.php index bd48a2e3e3..8c64cb67f3 100644 --- a/extension/lite/story/ext/view/view.html.php +++ b/extension/lite/story/ext/view/view.html.php @@ -346,7 +346,7 @@ js::set('rawModule', $this->app->rawModule); diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 005a5fd1fa..c809ced659 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -462,7 +462,7 @@ $('#bugForm .table-footer .table-actions #assignedTo').closest('.btn-group.dropu 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); } diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index 6ef9003823..10b13c2d9e 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -468,7 +468,7 @@ diff --git a/module/execution/view/bug.html.php b/module/execution/view/bug.html.php index 0c457dbf6c..e0e77ed7c5 100644 --- a/module/execution/view/bug.html.php +++ b/module/execution/view/bug.html.php @@ -210,7 +210,7 @@ $(function(){$('#executionBugForm').table();}) 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); } diff --git a/module/execution/view/story.html.php b/module/execution/view/story.html.php index 933e131229..0fd94dc27d 100644 --- a/module/execution/view/story.html.php +++ b/module/execution/view/story.html.php @@ -400,7 +400,7 @@ $(function() }); 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); } diff --git a/module/execution/view/task.html.php b/module/execution/view/task.html.php index fe53a70b9b..bc413357ea 100644 --- a/module/execution/view/task.html.php +++ b/module/execution/view/task.html.php @@ -477,7 +477,7 @@ $(function() 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); } diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index 770dd3c972..9b340e2ed5 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -749,7 +749,7 @@ function setBadgeStyle(obj, isShow) 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); } diff --git a/module/productplan/view/view.html.php b/module/productplan/view/view.html.php index 263196fd60..c55eb91ad1 100644 --- a/module/productplan/view/view.html.php +++ b/module/productplan/view/view.html.php @@ -609,7 +609,7 @@ diff --git a/module/task/view/view.html.php b/module/task/view/view.html.php index e2f4091aa7..0f6294d40c 100644 --- a/module/task/view/view.html.php +++ b/module/task/view/view.html.php @@ -442,7 +442,7 @@