summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-10-15 15:02:36 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-10-15 15:02:36 +0200
commit6f26a0f26f0e068754ab7b0ff29cf3e313d1f867 (patch)
treecc2eae405dea1811cc9b414dcb8df11fa03ce4b9 /template
parentae0de61f9ed7319d26c4dc03eadbb604b3baae1a (diff)
downloadbugzilla-6f26a0f26f0e068754ab7b0ff29cf3e313d1f867.tar.gz
bugzilla-6f26a0f26f0e068754ab7b0ff29cf3e313d1f867.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>