[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-135-gedbf887
Shawn Moore
sartak at bestpractical.com
Wed Jul 14 20:00:33 EDT 2010
The branch, 3.9-trunk has been updated
via edbf887976426d4bd3d3e13135ca2d2af47cf9f2 (commit)
from bd7b180e139b6fee4019609ebae5ab68c999356b (commit)
Summary of changes:
share/html/Elements/CreateTicket | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit edbf887976426d4bd3d3e13135ca2d2af47cf9f2
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Wed Jul 14 19:33:57 2010 -0400
Add a callback for adding attributes to the CreateTicket <form>
diff --git a/share/html/Elements/CreateTicket b/share/html/Elements/CreateTicket
index fd2ba9e..2be5ab8 100755
--- a/share/html/Elements/CreateTicket
+++ b/share/html/Elements/CreateTicket
@@ -45,7 +45,14 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" name="CreateTicketInQueue" id="CreateTicketInQueue">
+
+<form
+ action="<% RT->Config->Get('WebPath') %><% $SendTo %>"
+ name="CreateTicketInQueue"
+ id="CreateTicketInQueue"
+% $m->callback(CallbackName => 'InFormElement');
+>
+
<&|/l, $m->scomp('/Elements/SelectNewTicketQueue', OnChange => 'document.CreateTicketInQueue.submit()', SendTo => $SendTo ) &><input type="submit" class="button" value="New ticket in" /> [_1]</&>
</form>
<%ARGS>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list