[Rt-commit] rt branch, 4.6/select-queue-in-ticket-create, repushed
Aaron Trevena
ast at bestpractical.com
Tue Jan 21 05:20:42 EST 2020
The branch 4.6/select-queue-in-ticket-create was deleted and repushed:
was c854d5da137029eaf096f88c4e4691f58039e03c
now ed7fe7c1161b54db8ae4ac915557b79a87c9481f
1: 828ac1dd44 ! 1: d50cfccc9f Select Queue in Ticket Create page
@@ -20,7 +20,12 @@
+% if ( $object->{Id} eq ($Default||'') || $object->{Name} eq ($Default||'')) {
selected="selected"\
% }
++% elsif ( defined($SelectedId) && $object->{Id} eq $SelectedId ) {
++ selected="selected"\
++% }
><%$object->{Name}%>\
+ % if ($Verbose and $object->{Description}) {
+ (<%$object->{Description}%>)\
@@
% }
</select>
@@ -30,7 +35,10 @@
$ObjectType
$CheckRight => undef
@@
+ $CacheNeedsUpdate => undef
+ $Hyperlink => undef
$AccessKey => undef
++$SelectedId => undef
</%args>
<%init>
+
@@ -50,18 +58,10 @@
<& SelectQueueAutocomplete, %ARGS, &>
%} else {
@@
- CheckRight => $CheckQueueRight,
- ShowAll => $ShowAllQueues,
- CacheNeedsUpdate => RT->System->QueueCacheNeedsUpdate,
-+ Default => $SelectedId
- &>
- %}
- <%args>
$CheckQueueRight => 'CreateTicket'
$ShowAllQueues => 1
$AutoSubmit => 0
-+$SelectedId => undef
-+$QueueObj => undef
++$SelectedId => undef
</%args>
<%init>
-$ARGS{OnChange} = "jQuery(this).closest('form').submit();" if $AutoSubmit;
2: c854d5da13 = 2: ed7fe7c116 Select Queue in Ticket Create page Tests and test dependancies
More information about the rt-commit
mailing list