diff --git a/module/story/js/zerocase.js b/module/story/js/zerocase.js
new file mode 100644
index 0000000000..916278dc60
--- /dev/null
+++ b/module/story/js/zerocase.js
@@ -0,0 +1,4 @@
+$(document).ready(function()
+{
+ $('#zerocaseTab').addClass('active');
+});
diff --git a/module/testcase/view/caseheader.html.php b/module/testcase/view/caseheader.html.php
index baa2bd6764..63f45b50f9 100644
--- a/module/testcase/view/caseheader.html.php
+++ b/module/testcase/view/caseheader.html.php
@@ -5,21 +5,24 @@
echo "
" . html::a($this->createLink('testcase', 'browse', "productid=$productID&browseType=all"), $lang->testcase->allCases) . "";
echo "" . html::a($this->createLink('testcase', 'browse', "productid=$productID&browseType=needconfirm"), $lang->testcase->needConfirm) . "";
- echo "";
- $groupBy = isset($groupBy) ? $groupBy : '';
- $current = zget($lang->testcase->groups, isset($groupBy) ? $groupBy : '', '');
- if(empty($current)) $current = $lang->testcase->groups[''];
- echo html::a('javascript:;', $current . " ", '', "data-toggle='dropdown'");
- echo "';
-
+ if(common::hasPriv('story', 'zeroCase')) echo "" . html::a($this->createLink('story', 'zeroCase', "productID=$productID"), $lang->story->zeroCase) . '';
if($this->methodName == 'browse') echo " {$lang->testcase->bySearch} ";
?>
@@ -44,7 +47,6 @@