[otrs-cvs] ITSMIncidentProblemManagement/Kernel/Modules AgentTicketEmail.pm, 1.44, 1.44.2.1 AgentTicketPhone.pm, 1.49.2.1, 1.49.2.2

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

Modified Files:
      Tag: rel-3_1
	AgentTicketEmail.pm AgentTicketPhone.pm 
Log Message:
Fixed bug #7430 - Link option in AgentTicketPhone is only displayed if the user has rights on AdminCustomerUser.

Author: ub

Index: AgentTicketEmail.pm
===================================================================
RCS file: /home/cvs/ITSMIncidentProblemManagement/Kernel/Modules/AgentTicketEmail.pm,v
retrieving revision 1.44
retrieving revision 1.44.2.1
diff -2 -u -d -r1.44 -r1.44.2.1
--- AgentTicketEmail.pm	22 Oct 2012 21:24:52 -0000	1.44
+++ AgentTicketEmail.pm	8 Feb 2013 11:29:51 -0000	1.44.2.1
@@ -1,5 +1,5 @@
 # --
 # Kernel/Modules/AgentTicketEmail.pm - to compose initial email to customer
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -2541,4 +2541,21 @@
         );
     }
+# ---
+# ITSM
+# ---
+    # make sure to show the options block so that the "Link Ticket" option is shown
+    # even if spellchecker, address book and OptionCustomer is turned off
+    if ( !$ShownOptionsBlock ) {
+        $Self->{LayoutObject}->Block(
+            Name => 'TicketOptions',
+            Data => {
+                %Param,
+            },
+        );
+
+        # set flag to "true" in order to prevent calling the Options block again
+        $ShownOptionsBlock = 1;
+    }
+# ---
 
     # show attachments

Author: ub

Index: AgentTicketPhone.pm
===================================================================
RCS file: /home/cvs/ITSMIncidentProblemManagement/Kernel/Modules/AgentTicketPhone.pm,v
retrieving revision 1.49.2.1
retrieving revision 1.49.2.2
diff -2 -u -d -r1.49.2.1 -r1.49.2.2
--- AgentTicketPhone.pm	3 Dec 2012 10:29:27 -0000	1.49.2.1
+++ AgentTicketPhone.pm	8 Feb 2013 11:29:51 -0000	1.49.2.2
@@ -1,5 +1,5 @@
 # --
 # Kernel/Modules/AgentTicketPhone.pm - to handle phone calls
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -2329,4 +2329,21 @@
         );
     }
+# ---
+# ITSM
+# ---
+    # make sure to show the options block so that the "Link Ticket" option is shown
+    # even if spellchecker and OptionCustomer is turned off
+    if ( !$ShownOptionsBlock ) {
+        $Self->{LayoutObject}->Block(
+            Name => 'TicketOptions',
+            Data => {
+                %Param,
+            },
+        );
+
+        # set flag to "true" in order to prevent calling the Options block again
+        $ShownOptionsBlock = 1;
+    }
+# ---
 
     # show attachments
---------------------------------------------------------------------
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.