diff options
author | lpsolit%gmail.com <> | 2008-04-05 19:54:45 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-04-05 19:54:45 +0200 |
commit | 75435a809754c295590426c43b0c4b1aee79d336 (patch) | |
tree | 3bb50a60df17d15071a6fc2243f7f6bcb50500ad | |
parent | c510f6a6e953197e212b10b2067075f0c8976286 (diff) | |
download | bugzilla-75435a809754c295590426c43b0c4b1aee79d336.tar.gz bugzilla-75435a809754c295590426c43b0c4b1aee79d336.tar.xz |
Bug 425433: Read-only fields should not be passed to process_bug.cgi - Patch by Guy Pyrzak <guy.pyrzak@gmail.com> r/a=LpSolit
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 728086649..8e4cc9e15 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -497,8 +497,6 @@ initDefaultCheckbox('assignee'); </script> [% ELSE %] - <input type="hidden" name="assigned_to" id="assigned_to" - value="[% bug.assigned_to.login FILTER html %]"> [% INCLUDE user_identity user => bug.assigned_to %] [% END %] </td> @@ -544,8 +542,6 @@ </script> [% END %] [% ELSE %] - <input type="hidden" name="qa_contact" id="qa_contact" - value="[% bug.qa_contact.login FILTER html %]"> [% INCLUDE user_identity user => bug.qa_contact %] [% END %] </td> @@ -840,8 +836,6 @@ [%%]<label for="removecc">Remove selected CCs</label> <br> [% END %] - [% ELSE %] - <input type="hidden" name="cc" value=""> [% END %] </div> <script type="text/javascript"> @@ -955,9 +949,6 @@ [% IF bug.check_can_change_field(dep.fieldname, 0, 1) %] <input name="[% dep.fieldname %]" id="[% dep.fieldname %]" value="[% bug.${dep.fieldname}.join(', ') %]"> - [% ELSE %] - <input type="hidden" id="[% dep.fieldname %]" name="[% dep.fieldname %]" - value="[% bug.${dep.fieldname}.join(', ') %]"> [% END %] </span> @@ -1074,7 +1065,6 @@ [% END %] </select> [% ELSE %] - <input type="hidden" id="[% selname %]" name="[% selname %]" value="[% bug.${selname} FILTER html %]"> [% bug.${selname} FILTER html %] [% END %] [% IF NOT no_td %] @@ -1099,8 +1089,6 @@ [% " onfocus=\"$onfocus\"" IF onfocus %] [% " spellcheck=\"$spellcheck\"" IF spellcheck %]> [% ELSE %] - <input type="hidden" name="[% inputname %]" id="[% inputname %]" - value="[% val FILTER html %]"> [% IF size && val.length > size %] <span title="[% val FILTER html %]"> [% val FILTER truncate(size) FILTER html %] |