summaryrefslogtreecommitdiffstats
path: root/extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl')
-rw-r--r--extensions/ProdCompSearch/template/en/default/prodcompsearch/form.html.tmpl15
1 files changed, 15 insertions, 0 deletions
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;