diff --git a/module/execution/view/treestory.html.php b/module/execution/view/treestory.html.php
index 145246355a..95f5d7e72e 100644
--- a/module/execution/view/treestory.html.php
+++ b/module/execution/view/treestory.html.php
@@ -41,12 +41,12 @@
| story->product;?> |
- createLink('product', 'view', "productID=$story->product"), $product->name);?> |
+ createLink('product', 'view', "productID=$story->product"), $product->name, '', "data-app='product'");?> |
type != 'normal'):?>
| product->branch, zget($lang->product->branchName, $product->type));?> |
- product&branch=$story->branch", $branches[$story->branch]);?> |
+ product&branch=$story->branch", $branches[$story->branch], '', "data-app='product'");?> |
diff --git a/module/testtask/view/caseheader.html.php b/module/testtask/view/caseheader.html.php
index dbeac032eb..167e1c3c15 100644
--- a/module/testtask/view/caseheader.html.php
+++ b/module/testtask/view/caseheader.html.php
@@ -18,8 +18,8 @@
$hasGroupPriv = common::hasPriv('testtask', 'groupcase');
?>
inlink('cases', "taskID=$taskID&browseType=all¶m=0"), "{$lang->testtask->allCases}", '', "id='allTab' class='btn btn-link'");
- if($hasCasesPriv) echo html::a($this->inlink('cases', "taskID=$taskID&browseType=assignedtome¶m=0"), "{$lang->testtask->assignedToMe}", '', "id='assignedtomeTab' class='btn btn-link'");
+ if($hasCasesPriv) echo html::a($this->inlink('cases', "taskID=$taskID&browseType=all¶m=0"), "{$lang->testtask->allCases}", '', "id='allTab' class='btn btn-link' data-app='{$app->openApp}'");
+ if($hasCasesPriv) echo html::a($this->inlink('cases', "taskID=$taskID&browseType=assignedtome¶m=0"), "{$lang->testtask->assignedToMe}", '', "id='assignedtomeTab' class='btn btn-link' data-app='{$app->openApp}'");
if($hasGroupPriv)
{
@@ -27,7 +27,7 @@
$active = !empty($groupBy) ? 'btn-active-text' : '';
echo "";
- echo html::a($this->createLink('testtask', 'groupCase', "taskID=$taskID&groupBy=story"), "{$lang->testcase->groupByStories}", '', "class='btn btn-link $active'");
+ echo html::a($this->createLink('testtask', 'groupCase', "taskID=$taskID&groupBy=story"), "{$lang->testcase->groupByStories}", '', "class='btn btn-link $active' data-app='{$app->openApp}'");
echo '
';
}