diff options
author | lpsolit%gmail.com <> | 2006-07-12 21:21:36 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-07-12 21:21:36 +0200 |
commit | 2362793369156ae7c9c63c50a07ac2c79a9df7fa (patch) | |
tree | 5bfcf1b1a5410c8691be31c81057bd06231c86b1 /template/en/default/search | |
parent | 38b4491409ab9e0bd8c020a0d87c8b273097139b (diff) | |
download | bugzilla-2362793369156ae7c9c63c50a07ac2c79a9df7fa.tar.gz bugzilla-2362793369156ae7c9c63c50a07ac2c79a9df7fa.tar.xz |
Bug 317694: All buttons in forms must have an id - Patches by André Batosti <batosti@async.com.br> r=ghendricks a=myk
Diffstat (limited to 'template/en/default/search')
6 files changed, 18 insertions, 11 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index c1557b6cb..6f63f64bb 100644 --- a/template/en/default/search/boolean-charts.html.tmpl +++ b/template/en/default/search/boolean-charts.html.tmpl @@ -100,8 +100,9 @@ [% ELSE %] <td> [% newor = colnum + 1 %] - <input type="submit" value="Or" - name="cmd-add[% "${chartnum}-${rownum}-${newor}" %]" [% jsmagic %]> + <input type="submit" value="Or" [% jsmagic %] + name="cmd-add[% "${chartnum}-${rownum}-${newor}" %]" + id="cmd-add[% "${chartnum}-${rownum}-${newor}" %]"> </td> [% END %] @@ -116,11 +117,13 @@ <tr> <td> [% newand = rownum + 1; newchart = chartnum + 1 %] - <input type="submit" value="And" - name="cmd-add[% "${chartnum}-${newand}-0" %]" [% jsmagic %]> + <input type="submit" value="And" [% jsmagic %] + name="cmd-add[% "${chartnum}-${newand}-0" %]" + id="cmd-add[% "${chartnum}-${newand}-0" %]"> - <input type="submit" value="Add another boolean chart" - name="cmd-add[% newchart %]-0-0" [% jsmagic %]> + <input type="submit" value="Add another boolean chart" [% jsmagic %] + name="cmd-add[% newchart %]-0-0" + id="cmd-add[% newchart %]-0-0"> </td> </tr> diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 879625d02..ee8567586 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -145,7 +145,8 @@ function doOnSelectProduct(selectmode) { </td> <td> [% IF button_name %] - <input type="submit" value="[% button_name FILTER html %]"> + <input type="submit" id="[% button_name FILTER html %]" + value="[% button_name FILTER html %]"> [% END %] </td> </tr> diff --git a/template/en/default/search/knob.html.tmpl b/template/en/default/search/knob.html.tmpl index 833e37f55..407683747 100644 --- a/template/en/default/search/knob.html.tmpl +++ b/template/en/default/search/knob.html.tmpl @@ -54,7 +54,8 @@ </p> <p> - <input type="submit" value="[% button_name FILTER html %]"> + <input type="submit" id="[% button_name FILTER html %]" + value="[% button_name FILTER html %]"> [% IF known_name %] <input type="hidden" name="query_based_on" value="[% known_name FILTER html %]"> diff --git a/template/en/default/search/search-report-graph.html.tmpl b/template/en/default/search/search-report-graph.html.tmpl index 276fe7560..cfc585d8f 100644 --- a/template/en/default/search/search-report-graph.html.tmpl +++ b/template/en/default/search/search-report-graph.html.tmpl @@ -129,7 +129,8 @@ var queryform = "reportform" [% PROCESS search/form.html.tmpl %] <br> -<input type="submit" value="[% button_name FILTER html %]"> +<input type="submit" id="[% button_name FILTER html %]" + value="[% button_name FILTER html %]"> <input type="hidden" name="action" value="wrap"> <hr> diff --git a/template/en/default/search/search-report-table.html.tmpl b/template/en/default/search/search-report-table.html.tmpl index 1894fa795..b7e54a35e 100644 --- a/template/en/default/search/search-report-table.html.tmpl +++ b/template/en/default/search/search-report-table.html.tmpl @@ -81,7 +81,8 @@ var queryform = "reportform" [% PROCESS search/form.html.tmpl %] <br> -<input type="submit" value="[% button_name FILTER html %]"> +<input type="submit" id="[% button_name FILTER html %]" + value="[% button_name FILTER html %]"> <input type="hidden" name="format" value="table"> <input type="hidden" name="action" value="wrap"> <hr> diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl index dcc87130e..8288b76e3 100644 --- a/template/en/default/search/search-specific.html.tmpl +++ b/template/en/default/search/search-specific.html.tmpl @@ -110,7 +110,7 @@ for "crash secure SSL flash". <tr> <td></td> <td> - <input type="submit" value="Search"> + <input type="submit" id="search" value="Search"> </td> </tr> </table> |