summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-10-15 15:00:34 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-10-15 15:00:34 +0200
commitda307acd5f65c28cddce76dd4c4ae822a375914a (patch)
treea45952b9944ffb659a8f2e94ae600ce3660339d9 /template
parent1c7c7bbb3c2a32f2962ca2df52297f1abd7bd046 (diff)
downloadbugzilla-da307acd5f65c28cddce76dd4c4ae822a375914a.tar.gz
bugzilla-da307acd5f65c28cddce76dd4c4ae822a375914a.tar.xz
Bug 674416: Custom searches in query.cgi are lost when clicking the "Back" button in Firefox when viewing a buglist
r=glob a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/search/boolean-charts.html.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl
index b90f5f1b6..b5ff90908 100644
--- a/template/en/default/search/boolean-charts.html.tmpl
+++ b/template/en/default/search/boolean-charts.html.tmpl
@@ -135,6 +135,7 @@
[% ELSE %]
<select name="f[% cond_num FILTER html %]" title="Field"
id="f[% cond_num FILTER html %]"
+ onchange="fix_query_string(this)"
class="custom_search_form_field">
[% FOREACH field = fields %]
<option value="[% field.name FILTER html %]"
@@ -150,6 +151,7 @@
<input name="v[% cond_num FILTER html %]" title="Value"
class="custom_search_form_field"
+ onchange="fix_query_string(this)"
value="[% condition.v FILTER html %]">
[% END %]
@@ -170,7 +172,8 @@
[% BLOCK any_all_select %]
<div class="any_all_select">
- <select name="[% name FILTER html %]" id="[% name FILTER html %]">
+ <select name="[% name FILTER html %]" id="[% name FILTER html %]"
+ onchange="fix_query_string(this)">
<option value="AND">Match ALL of the following:</option>
<option value="OR" [% ' selected="selected"' IF selected == "OR" %]>
Match ANY of the following:</option>