summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/create
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-15 05:10:21 +0200
committerlpsolit%gmail.com <>2006-08-15 05:10:21 +0200
commit212b28b07c639d876e057ab50b783de7002cb4e5 (patch)
tree6b083b713117fc8fb74014269ddfe666bd47d82b /template/en/default/bug/create
parent41560ee57841fdd3c1ca519fdfcd70908c86a996 (diff)
downloadbugzilla-212b28b07c639d876e057ab50b783de7002cb4e5.tar.gz
bugzilla-212b28b07c639d876e057ab50b783de7002cb4e5.tar.xz
Bug 348337: enter_bug.cgi doesn't pass HTML validation - Patch by Frédéric Buclin <LpSolit@gmail.com> r=kevin.benton a=myk
Diffstat (limited to 'template/en/default/bug/create')
-rw-r--r--template/en/default/bug/create/create.html.tmpl12
1 files changed, 7 insertions, 5 deletions
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 %]
</td>
@@ -365,7 +366,7 @@ function handleWantsAttachment(wants_attachment) {
enter_bug => 1 }) %]
[% SET value = ${field.name} IF ${field.name}.defined %]
<tr>
- [% PROCESS bug/field.html.tmpl editable=1 value_span=3 %]
+ [% PROCESS bug/field.html.tmpl editable=1 value_span=2 %]
</tr>
[% END %]
@@ -425,8 +426,8 @@ function handleWantsAttachment(wants_attachment) {
+ 'onClick="handleWantsAttachment(true)"> '
+ '<em style="display: none">This button has no '
+ 'functionality for you because your browser does '
- + 'not support CSS or does not use it.</em>'
- + '</div>'
+ + 'not support CSS or does not use it.<\/em>'
+ + '<\/div>'
+ '<div id="attachment_true" style="display: none">'
+ '<input type="button" '
+ 'value="Don\'t add an attachment " '
@@ -437,12 +438,13 @@ function handleWantsAttachment(wants_attachment) {
<legend>Add an attachment</legend>
<table class="attachment_entry">
[% PROCESS attachment/createformcontents.html.tmpl
- flag_types = product.flag_types.attachment %]
+ flag_types = product.flag_types.attachment
+ flag_table_id ="attachment_flags" %]
</table>
</fieldset>
<script type="text/javascript">
<!--
- document.write('</div>');
+ document.write('<\/div>');
//-->
</script>
</td>