[otrs-cvs] ITSMConfigurationManagement/Kernel/Modules AgentITSMConfigItemEdit.pm, 1.32.2.4, 1.32.2.5

"CVS commits notifications of OTRS.org" <[email protected]> Thu, 11 Apr 2013 16:23:26 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMConfigurationManagement/Kernel/Modules
In directory lancelot:/tmp/cvs-serv9556/Kernel/Modules

Modified Files:
      Tag: rel-3_1
	AgentITSMConfigItemEdit.pm 
Log Message:
Fixed bug# 9062 - Attributes could disappear in configitem edit screen.

Author: ub

Index: AgentITSMConfigItemEdit.pm
===================================================================
RCS file: /home/cvs/ITSMConfigurationManagement/Kernel/Modules/AgentITSMConfigItemEdit.pm,v
retrieving revision 1.32.2.4
retrieving revision 1.32.2.5
diff -2 -u -d -r1.32.2.4 -r1.32.2.5
--- AgentITSMConfigItemEdit.pm	5 Dec 2012 14:23:24 -0000	1.32.2.4
+++ AgentITSMConfigItemEdit.pm	11 Apr 2013 16:23:21 -0000	1.32.2.5
@@ -1,5 +1,5 @@
 # --
 # Kernel/Modules/AgentITSMConfigItemEdit.pm - the OTRS::ITSM config item edit module
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -972,4 +972,10 @@
         if ( $Loop < $Item->{CountMax} ) {
 
+            # if no item should be shown we need to show the add button
+            # and therefore we need to show the XMLRow block
+            if ( !$Loop ) {
+                $Self->{LayoutObject}->Block( Name => 'XMLRow' );
+            }
+
             my $Class = '';
             if ( $Param{Level} ) {
---------------------------------------------------------------------
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