X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FCreateTicket;fp=rt%2Fshare%2Fhtml%2FElements%2FCreateTicket;h=6702abcbfc04f1e7af0317d399ad825515fc8684;hb=33beebf4cb42eba3e1dd868ad5e0af102de961da;hp=02275ef34f7b269945480ba0b265a610939043b3;hpb=7ac86daf67b0a95153b736d5811f9050363f6553;p=freeside.git diff --git a/rt/share/html/Elements/CreateTicket b/rt/share/html/Elements/CreateTicket index 02275ef34..6702abcbf 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_unsafe, $button_start, $button_end, $queue_selector &>[_1]New ticket in[_2] [_3] +% $m->callback(CallbackName => 'BeforeFormEnd');
<%ARGS> $SendTo => '/Ticket/Create.html',