summaryrefslogtreecommitdiffstats
path: root/extensions/ProdCompSearch/template/en
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-03-21 22:25:53 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-03-21 22:25:53 +0100
commit2b88ae92c4970f0ff5cccb5b607902f8752590c2 (patch)
tree5f2586b20f4ca9311877e93c227b23cb6b525a34 /extensions/ProdCompSearch/template/en
parent897f58ced15e63ca63e870a40991eaf97de84f2f (diff)
downloadbugzilla-2b88ae92c4970f0ff5cccb5b607902f8752590c2.tar.gz
bugzilla-2b88ae92c4970f0ff5cccb5b607902f8752590c2.tar.xz
Bug 849905 - bug filing links in my dashboard should be able to be opened in new tabs/windows
r=glob
Diffstat (limited to 'extensions/ProdCompSearch/template/en')
-rw-r--r--extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl1
-rw-r--r--extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl15
2 files changed, 16 insertions, 0 deletions
diff --git a/extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl b/extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl
index 533ade888..649a205db 100644
--- a/extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl
+++ b/extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl
@@ -17,6 +17,7 @@
<div id="prod_comp_search_main">
[% PROCESS prodcompsearch/form.html.tmpl
query_header = "File a $terms.Bug:"
+ script_name = "enter_bug.cgi"
%]
</div>
diff --git a/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl b/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
index 9d75f66f1..8d4f46e07 100644
--- a/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
+++ b/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
@@ -6,6 +6,21 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
+<script type="text/javascript">
+ [% IF script_name %]
+ ProdCompSearch.script_name = '[% script_name FILTER js %]';
+ [% END %]
+ [% IF format %]
+ ProdCompSearch.format = '[% format FILTER js %]';
+ [% END %]
+ [% IF cloned_bug_id %]
+ ProdCompSearch.cloned_bug_id = '[% cloned_bug_id FILTER js %]';
+ [% END %]
+ [% IF new_tab %]
+ ProdCompSearch.new_tab = true;
+ [% END %]
+</script>
+
<div id="prod_comp_search_form" class="yui3-skin-sam">
<div id="prod_comp_search_header">
[% input_label FILTER none %]&nbsp;