]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 425433: Read-only fields should not be passed to process_bug.cgi - Patch by Guy...
authorlpsolit%gmail.com <>
Sat, 5 Apr 2008 17:54:45 +0000 (17:54 +0000)
committerlpsolit%gmail.com <>
Sat, 5 Apr 2008 17:54:45 +0000 (17:54 +0000)
template/en/default/bug/edit.html.tmpl

index 728086649711db68a4489732a7d9889390e63958..8e4cc9e15116e3f43f3b13f001632a248cd81dea 100644 (file)
            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>
             </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>
             [%%]<label for="removecc">Remove selected CCs</label>
             <br>
           [% END %]
-        [% ELSE %]
-          <input type="hidden" name="cc" value="">
         [% END %]
         </div>
         <script type="text/javascript">
       [% 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>
     
         [% END %]
       </select>
     [% ELSE %]
-      <input type="hidden" id="[% selname %]" name="[% selname %]" value="[% bug.${selname} FILTER html %]">
       [% bug.${selname} FILTER html %]
     [% END %]
   [% IF NOT no_td %]
               [% " 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 %]