diff options
Diffstat (limited to 'extensions/ProdCompSearch')
-rw-r--r-- | extensions/ProdCompSearch/web/js/prod_comp_search.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/ProdCompSearch/web/js/prod_comp_search.js b/extensions/ProdCompSearch/web/js/prod_comp_search.js index f58a8d330..bc0f41a2b 100644 --- a/extensions/ProdCompSearch/web/js/prod_comp_search.js +++ b/extensions/ProdCompSearch/web/js/prod_comp_search.js @@ -97,6 +97,9 @@ YUI({ if (ProdCompSearch.cloned_bug_id) url += "&cloned_bug_id=" + encodeURIComponent(ProdCompSearch.cloned_bug_id); } + if (ProdCompSearch.script_name == 'describecomponents.cgi') { + url += "#" + encodeURIComponent(data.component); + } window.location.href = url; } } |