[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-89-g708a2ba

Shawn Moore sartak at bestpractical.com
Wed Jun 16 20:14:59 EDT 2010


The branch, 3.8-trunk has been updated
       via  708a2ba21ea744bbb16c66cd7ff05664e8e97d0f (commit)
      from  412283194b60498a64972f3dc4a789daac8dc6c5 (commit)

Summary of changes:
 share/html/Elements/SelectNewTicketQueue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 708a2ba21ea744bbb16c66cd7ff05664e8e97d0f
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Jun 16 20:15:50 2010 -0400

    Callback for changing the default queue in SelectNewTicketQueue

diff --git a/share/html/Elements/SelectNewTicketQueue b/share/html/Elements/SelectNewTicketQueue
index d7d406e..403b1f6 100755
--- a/share/html/Elements/SelectNewTicketQueue
+++ b/share/html/Elements/SelectNewTicketQueue
@@ -46,5 +46,9 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <label accesskey="9">
-  <& /Elements/SelectQueue, Name => 'Queue', Default => RT->Config->Get("DefaultQueue", $session{'CurrentUser'}), %ARGS, ShowNullOption => 0, ShowAllQueues => 0 &>
+  <& /Elements/SelectQueue, Name => 'Queue', Default => $queue, %ARGS, ShowNullOption => 0, ShowAllQueues => 0 &>
 </label>
+<%INIT>
+my $queue = RT->Config->Get("DefaultQueue", $session{'CurrentUser'});
+$m->callback(Queue => \$queue, CallbackName => 'DefaultQueue');
+</%INIT>

-----------------------------------------------------------------------


More information about the Rt-commit mailing list