[freeside-commits] freeside/rt/share/html/Ticket Create.html, 1.1.1.2, 1.2
Mark Wells
mark at wavetail.420.am
Mon Nov 15 12:32:03 PST 2010
Update of /home/cvs/cvsroot/freeside/rt/share/html/Ticket
In directory wavetail.420.am:/tmp/cvs-serv13789/Ticket
Modified Files:
Create.html
Log Message:
select queue when creating child tickets, RT#10139
Index: Create.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Create.html,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -u -w -d -r1.1.1.2 -r1.2
--- Create.html 18 May 2010 18:45:45 -0000 1.1.1.2
+++ Create.html 15 Nov 2010 20:32:00 -0000 1.2
@@ -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>
More information about the freeside-commits
mailing list