[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] rt branch, 5.0/allow-inline-edit-file-submissions, repushed
From:       craig () bestpractical ! com (Craig Kaiser)
Date:       2020-10-30 15:06:13
Message-ID: 20201030150613.766942418004 () booth ! bestpractical ! com
[Download RAW message or body]

The branch 5.0/allow-inline-edit-file-submissions was deleted and repushed:
       was 2586220fde0ac3df6071fb773d1be0c23d64ca05
       now eb8b3fa632bc7e9e0b22c284d725ccb49e57ef53

1: 2586220fde ! 1: eb8b3fa632 Add 'enctype=multipart/form-data' to inline edit forms
    @@ -1,6 +1,6 @@
     Author: craig kaiser <craig@bestpractical.com>
     
    -    Add 'enctype=multipart/form-data' to custom field inline edit form
    +    Add 'enctype=multipart/form-data' to inline edit forms
         
         Without this form attribute, when submitting a file for a custom field
         the browser will complain:
    @@ -33,3 +33,30 @@
                      <input type="hidden" class="hidden" name="id" value="<% \
                $Ticket->id %>" />
                      <& /Ticket/Elements/EditBasics, TicketObj => $Ticket, InTable \
                => 1, ExcludeOwner => 1, ExcludeCustomRoles => 1 &>
                      <& /Elements/EditCustomFields, Object => $Ticket, Grouping => \
'Basics', InTable => 1 &>  +@@
    +             </div>
    + %       }
    + %       if ($people_behavior ne 'hide') {
    +-            <form class="inline-edit" \
action="<%RT->Config->Get('WebPath')%>/Ticket/Display.html" method="post">  ++        \
<form class="inline-edit" action="<%RT->Config->Get('WebPath')%>/Ticket/Display.html" \
method="post" enctype="multipart/form-data">  +                 <input type="hidden" \
class="hidden" name="id" value="<% $Ticket->id %>" />  +                 <& \
/Ticket/Elements/EditPeopleInline, Ticket => $Ticket &>  +                 <div \
class="form-row">  +@@
    +             </div>
    + %       }
    + %       if ($dates_behavior ne 'hide') {
    +-            <form class="inline-edit" \
action="<%RT->Config->Get('WebPath')%>/Ticket/Display.html" method="post">  ++        \
<form class="inline-edit" action="<%RT->Config->Get('WebPath')%>/Ticket/Display.html" \
method="post" enctype="multipart/form-data">  +                 <input type="hidden" \
class="hidden" name="id" value="<% $Ticket->id %>" />  +                 <& \
/Ticket/Elements/EditDates, TicketObj => $Ticket &>  +                 <div \
class="form-row">  +@@
    +             </div>
    + %       }
    + %       if ($links_behavior ne 'hide') {
    +-            <form class="inline-edit" \
action="<%RT->Config->Get('WebPath')%>/Ticket/Display.html" method="post">  ++        \
<form class="inline-edit" action="<%RT->Config->Get('WebPath')%>/Ticket/Display.html" \
method="post" enctype="multipart/form-data">  +                 <input type="hidden" \
class="hidden" name="id" value="<% $Ticket->id %>" />  +                 <& \
/Elements/EditLinks, Object => $Ticket, TwoColumn => 0 &>  + 

_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic