summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorguy.pyrzak%gmail.com <>2008-03-01 12:33:04 +0100
committerguy.pyrzak%gmail.com <>2008-03-01 12:33:04 +0100
commit0804583f3b19913ad79b5e70268a25fe6ce07408 (patch)
tree2a0727ec1309fa55498acabc3b3e1f39960e4584 /template/en/default/bug
parentdc850794210056ff806b21c57149be7c7662be8c (diff)
downloadbugzilla-0804583f3b19913ad79b5e70268a25fe6ce07408.tar.gz
bugzilla-0804583f3b19913ad79b5e70268a25fe6ce07408.tar.xz
Bug 418895: Assignee and QA contact fields always become revealed (editable),
The patch moves what used to be in one function to hide the qa and assignee into 2 separate calls. It also fixes some typos in the comments and adds my name to the committers list Patch By Guy Pyrzak <guy.pyrzak@gmail.com.com> r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/edit.html.tmpl15
1 files changed, 10 insertions, 5 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 3516500f5..728086649 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -20,6 +20,7 @@
# Max Kanat-Alexander <mkanat@bugzilla.org>
# Frédéric Buclin <LpSolit@gmail.com>
# Olav Vitters <olav@bkor.dhs.org>
+ # Guy Pyrzak <guy.pyrzak@gmail.com>
#%]
[% PROCESS global/variables.none.tmpl %]
@@ -493,6 +494,7 @@
'bz_assignee_edit_action',
'assigned_to',
'[% bug.assigned_to.login FILTER js %]' );
+ initDefaultCheckbox('assignee');
</script>
[% ELSE %]
<input type="hidden" name="assigned_to" id="assigned_to"
@@ -530,9 +532,6 @@
<br>
<input type="checkbox" id="set_default_qa_contact" name="set_default_qa_contact" value="1">
<label for="set_default_qa_contact" id="set_default_qa_contact_label">Reset QA Contact to default</label>
- <script type="text/javascript">
- initAssignedQA();
- </script>
</div>
[% IF bug.qa_contact != "" %]
<script type="text/javascript">
@@ -541,6 +540,7 @@
'bz_qa_contact_edit_action',
'qa_contact',
'[% bug.qa_contact.login FILTER js %]');
+ initDefaultCheckbox('qa_contact');
</script>
[% END %]
[% ELSE %]
@@ -551,9 +551,11 @@
</td>
</tr>
[% END %]
-
[% END %]
+[%############################################################################%]
+[%# Block for URL Keyword and Whiteboard #%]
+[%############################################################################%]
[% BLOCK section_url_keyword_whiteboard %]
[%# *** URL Whiteboard Keywords *** %]
<tr>
@@ -621,6 +623,9 @@
[% END %]
[% END %]
+[%############################################################################%]
+[%# Block for Depends On / Blocks #%]
+[%############################################################################%]
[% BLOCK section_dependson_blocks %]
<tr>
[% PROCESS dependencies
@@ -906,7 +911,7 @@
[% END %]
[%############################################################################%]
-[%# Block for Section Spacer #%]
+[%# Block for Custom Fields #%]
[%############################################################################%]
[% BLOCK section_customfields %]