From 84e91fc75ad26e76ff8eb4967a4fc885af36e6f3 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 16 Aug 2017 14:24:58 +0800 Subject: [PATCH] * finish task #3102. --- module/bug/js/browse.js | 5 +++++ module/bug/view/browse.html.php | 2 ++ module/product/js/browse.js | 5 +++++ module/product/view/browse.html.php | 2 ++ module/project/js/task.js | 6 ++++++ module/project/view/task.html.php | 1 + module/search/control.php | 5 ++++- module/testcase/js/browse.js | 5 +++++ module/testcase/view/browse.html.php | 2 ++ 9 files changed, 32 insertions(+), 1 deletion(-) diff --git a/module/bug/js/browse.js b/module/bug/js/browse.js index f8542352d7..75ae5abf17 100644 --- a/module/bug/js/browse.js +++ b/module/bug/js/browse.js @@ -57,3 +57,8 @@ $(document).ready(function() }) } }); + +function setQueryBar(queryID, title) +{ + $('#bysearchTab').before("
  • " + title + "
  • "); +} diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index ba768a0c10..db00b0a83f 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -17,6 +17,8 @@ js::set('browseType', $browseType); js::set('moduleID', $moduleID); js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrowseType == 'bysearch') ? 'all' : $this->session->bugBrowseType); js::set('flow', $this->config->global->flow); +js::set('productID', $productID); +js::set('branch', $branch); ?> config->global->flow == 'onlyTest'):?>
    diff --git a/module/product/js/browse.js b/module/product/js/browse.js index aed4662921..4396973d1c 100644 --- a/module/product/js/browse.js +++ b/module/product/js/browse.js @@ -24,3 +24,8 @@ $(function() setTimeout(function(){fixedTfootAction('#productStoryForm')}, 100); setTimeout(function(){fixedTheadOfList('#storyList')}, 100); }) + +function setQueryBar(queryID, title) +{ + $('#bysearchTab').before("
  • " + title + "
  • "); +} diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index f632191df8..c50987bb11 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -13,6 +13,8 @@ + +