From 10682bcf15f802db6da5d39e8cc9e9f15be89a27 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 30 Dec 2006 08:45:07 +0000 Subject: Bug 365293: [mod_perl] click OR, AND or ADD... button in bool charts initiates search Patch By Max Kanat-Alexander r=justdave, a=justdave --- template/en/default/search/boolean-charts.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default/search/boolean-charts.html.tmpl') 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 %] -- cgit v1.2.3-24-g4f1b