diff options
author | mkanat%bugzilla.org <> | 2006-12-30 08:45:07 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-12-30 08:45:07 +0000 |
commit | 10682bcf15f802db6da5d39e8cc9e9f15be89a27 (patch) | |
tree | 1db761263f79f4208191d1064f678458509b5fa7 /template/en/default/search | |
parent | ca6e0483ffbeb08576e62c8e890e1d80cbb804d3 (diff) | |
download | bugs-10682bcf15f802db6da5d39e8cc9e9f15be89a27.tar bugs-10682bcf15f802db6da5d39e8cc9e9f15be89a27.tar.gz bugs-10682bcf15f802db6da5d39e8cc9e9f15be89a27.tar.bz2 bugs-10682bcf15f802db6da5d39e8cc9e9f15be89a27.tar.xz bugs-10682bcf15f802db6da5d39e8cc9e9f15be89a27.zip |
Bug 365293: [mod_perl] click OR, AND or ADD... button in bool charts initiates search
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=justdave
Diffstat (limited to 'template/en/default/search')
-rw-r--r-- | template/en/default/search/boolean-charts.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index 6f63f64bb..90234d2b4 100644 --- a/template/en/default/search/boolean-charts.html.tmpl +++ b/template/en/default/search/boolean-charts.html.tmpl @@ -52,7 +52,7 @@ [%# Whoever wrote the original version of boolean charts had a seriously twisted mind %] -[% jsmagic = "onclick=\"document.forms[0].action='query.cgi#chart'; document.forms[0].method='POST'; return 1;\"" %] +[% jsmagic = "onclick=\"this.form.action='query.cgi#chart'; this.form.method='POST'; return 1;\"" %] [% FOREACH chart = default.charts %] [% chartnum = loop.count - 1 %] |