diff options
author | mark <mark> | 2010-11-15 20:32:00 +0000 |
---|---|---|
committer | mark <mark> | 2010-11-15 20:32:00 +0000 |
commit | 2027623f2ff324ec4e4f6552a3ee9af5a271a288 (patch) | |
tree | 716fee404d4e38624431785b072e81099d32528a /rt/share | |
parent | 0e7d7ec762a547d80ad19eeb5ea35342392bc944 (diff) |
select queue when creating child tickets, RT#10139
Diffstat (limited to 'rt/share')
-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> |