X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FCreateTicket;fp=rt%2Fshare%2Fhtml%2FElements%2FCreateTicket;h=6e541db9b2163a6065e5775026e93be04658013f;hb=43a06151e47d2c59b833cbd8c26d97865ee850b6;hp=02275ef34f7b269945480ba0b265a610939043b3;hpb=6587f6ba7d047ddc1686c080090afe7d53365bd4;p=freeside.git diff --git a/rt/share/html/Elements/CreateTicket b/rt/share/html/Elements/CreateTicket index 02275ef34..6e541db9b 100755 --- a/rt/share/html/Elements/CreateTicket +++ b/rt/share/html/Elements/CreateTicket @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -45,8 +45,14 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} -
-<&|/l, $m->scomp('/Elements/SelectNewTicketQueue', OnChange => 'document.CreateTicketInQueue.submit()', SendTo => $SendTo ) &> [_1] +callback(CallbackName => 'InFormElement'); +> +% my $button_start = ''; +% my $queue_selector = $m->scomp('/Elements/SelectNewTicketQueue', OnChange => 'document.CreateTicketInQueue.submit()', SendTo => $SendTo ); +<&|/l, $button_start, $button_end, $queue_selector &>[_1]New ticket in[_2] [_3] +% $m->callback(CallbackName => 'BeforeFormEnd');
<%ARGS> $SendTo => '/Ticket/Create.html',