[otrs-cvs] otrs/Kernel/Modules AgentTicketActionCommon.pm, 1.102, 1.103

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv12751/Kernel/Modules

Modified Files:
	AgentTicketActionCommon.pm 
Log Message:
Fixed bug#9029 - Switching on Queue in AgentTicketActionCommon will always result in a move.

Author: mb

Index: AgentTicketActionCommon.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/AgentTicketActionCommon.pm,v
retrieving revision 1.102
retrieving revision 1.103
diff -2 -u -d -r1.102 -r1.103
--- AgentTicketActionCommon.pm	20 Nov 2012 14:47:30 -0000	1.102
+++ AgentTicketActionCommon.pm	10 Jan 2013 11:48:52 -0000	1.103
@@ -1,5 +1,5 @@
 # --
 # Kernel/Modules/AgentTicketActionCommon.pm - common file for several modules
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -1244,12 +1244,14 @@
         );
 
-        $Param{QueuesStrg} = $Self->{LayoutObject}->BuildSelection(
-            Data         => \%MoveQueues,
-            Name         => 'NewQueueID',
-            SelectedID   => $Param{NewQueueID},
-            PossibleNone => 0,
-            TreeView     => 1,
-            Sort         => 'TreeView',
-            Translation  => 0,
+        # set move queues
+        $Param{QueuesStrg} = $Self->{LayoutObject}->AgentQueueListOption(
+            Data => { %MoveQueues, '' => '-' },
+            Multiple       => 0,
+            Size           => 0,
+            Class          => 'NewQueueID',
+            Name           => 'NewQueueID',
+            SelectedID     => $Param{NewQueueID},
+            CurrentQueueID => $Param{QueueID},
+            OnChangeSubmit => 0,
         );
 
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.