Skip to content

Commit

Permalink
Add name attribute to Create New Ticket button
Browse files Browse the repository at this point in the history
Add name attribute so Callbacks can divine whether the button was clicked upon form submission.
  • Loading branch information
mzagrabe authored and sunnavy committed Dec 17, 2024
1 parent aa29fd1 commit d18adc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/html/Elements/CreateTicket
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<p><&|/l&>Select a queue for your new ticket.</&></p>
% }

% my $button_start = '<input type="submit" class="button btn btn-primary form-control" value="';
% my $button_start = '<input type="submit" class="button btn btn-primary form-control" name="CreateNewTicket" value="';
% my $button_end = '" />';
% my $queue_selector = $m->scomp('/Elements/SelectNewTicketQueue', AutoSubmit => 1, SendTo => $SendTo, Placeholder => loc('Queue'), Hyperlink => $Hyperlink );

Expand Down

0 comments on commit d18adc5

Please sign in to comment.