From 212b28b07c639d876e057ab50b783de7002cb4e5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 15 Aug 2006 03:10:21 +0000 Subject: Bug 348337: enter_bug.cgi doesn't pass HTML validation - Patch by Frédéric Buclin r=kevin.benton a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/create/create.html.tmpl | 12 +++++++----- template/en/default/bug/field.html.tmpl | 7 ++----- template/en/default/flag/list.html.tmpl | 4 +++- 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index bb4936861..33e8b8090 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -265,6 +265,7 @@ function handleWantsAttachment(wants_attachment) { [% IF product.flag_types.bug.size > 0 %] [% PROCESS "flag/list.html.tmpl" flag_types = product.flag_types.bug any_flags_requesteeble = 1 + flag_table_id = "bug_flags" %] [% END %] @@ -365,7 +366,7 @@ function handleWantsAttachment(wants_attachment) { enter_bug => 1 }) %] [% SET value = ${field.name} IF ${field.name}.defined %] - [% PROCESS bug/field.html.tmpl editable=1 value_span=3 %] + [% PROCESS bug/field.html.tmpl editable=1 value_span=2 %] [% END %] @@ -425,8 +426,8 @@ function handleWantsAttachment(wants_attachment) { + 'onClick="handleWantsAttachment(true)"> ' + 'This button has no ' + 'functionality for you because your browser does ' - + 'not support CSS or does not use it.' - + '' + + 'not support CSS or does not use it.<\/em>' + + '<\/div>' + '