From: mkanat%bugzilla.org <> Date: Sat, 30 Dec 2006 08:45:07 +0000 (+0000) Subject: Bug 365293: [mod_perl] click OR, AND or ADD... button in bool charts initiates search X-Git-Tag: bugzilla-2.23.4~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10682bcf15f802db6da5d39e8cc9e9f15be89a27;p=thirdparty%2Fbugzilla.git Bug 365293: [mod_perl] click OR, AND or ADD... button in bool charts initiates search Patch By Max Kanat-Alexander r=justdave, a=justdave --- diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index 6f63f64bb3..90234d2b45 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 %]