summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-12-30 09:45:07 +0100
committermkanat%bugzilla.org <>2006-12-30 09:45:07 +0100
commit10682bcf15f802db6da5d39e8cc9e9f15be89a27 (patch)
tree1db761263f79f4208191d1064f678458509b5fa7 /template/en/default
parentca6e0483ffbeb08576e62c8e890e1d80cbb804d3 (diff)
downloadbugzilla-10682bcf15f802db6da5d39e8cc9e9f15be89a27.tar.gz
bugzilla-10682bcf15f802db6da5d39e8cc9e9f15be89a27.tar.xz
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')
-rw-r--r--template/en/default/search/boolean-charts.html.tmpl2
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 %]