diff options
-rwxr-xr-x | rt/share/html/Ticket/Create.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/rt/share/html/Ticket/Create.html b/rt/share/html/Ticket/Create.html index 2c8e35778..c5842a325 100755 --- a/rt/share/html/Ticket/Create.html +++ b/rt/share/html/Ticket/Create.html @@ -64,8 +64,17 @@ <&| /Widgets/TitleBox, title => $title &> <table border="0" cellpadding="0" cellspacing="0"> <tr><td class="label"><&|/l&>Queue</&>:</td> -<td class="value"><& Elements/ShowQueue, QueueObj => $QueueObj &> -<input type="hidden" class="hidden" name="Queue" value="<% $QueueObj->Name %>" /> +%#<td class="value"><& Elements/ShowQueue, QueueObj => $QueueObj &> +%#<input type="hidden" class="hidden" name="Queue" value="<% $QueueObj->Name %>" /> +% $cgi->delete('Queue'); +% my $self_url = $cgi->self_url(-newstyle_urls => 1); +% $self_url = ($self_url =~ /\?/) ? "$self_url;" : "$self_url?"; +% $cgi->param('Queue', $QueueObj->Id); +<td class="value"><& /Elements/SelectQueue, + Name => 'Queue', + Default => $QueueObj->Name, + ShowNullOption => 0, + OnChange => "window.location.href='${self_url}Queue=' + this.value" &> </td> <td class="label"><&|/l&>Status</&>: </td> |