[Rt-commit] rt branch, 5.0/create-ticket-form-method-in-top-actions, created. rt-5.0.0beta1-1-g5269c8177a
? sunnavy
sunnavy at bestpractical.com
Wed May 27 18:01:08 EDT 2020
The branch, 5.0/create-ticket-form-method-in-top-actions has been created
at 5269c8177a781840bb77a3a40c368549b3b2f14c (commit)
- Log -----------------------------------------------------------------
commit 5269c8177a781840bb77a3a40c368549b3b2f14c
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu May 28 05:36:26 2020 +0800
Set method to POST for CreateTicketInQueue form in top actions
Thus we can pass parameters to action like "/RTIR/Create.html?Queue=3",
otherwise the parameters(i.e. "Queue=3") part would be ignored.
diff --git a/share/html/Elements/CreateTicket b/share/html/Elements/CreateTicket
index dcfd42610d..2d4e3c58d3 100644
--- a/share/html/Elements/CreateTicket
+++ b/share/html/Elements/CreateTicket
@@ -45,7 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" name="CreateTicketInQueue" id="CreateTicketInQueue" \
+<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" method="POST" name="CreateTicketInQueue" id="CreateTicketInQueue" \
% $m->callback(CallbackName => 'InFormElement');
>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list