[otrs-cvs] ITSMConfigurationManagement/Kernel/Modules AgentITSMConfigItemEdit.pm, 1.37, 1.38

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

Modified Files:
	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.37
retrieving revision 1.38
diff -2 -u -d -r1.37 -r1.38
--- AgentITSMConfigItemEdit.pm	26 Mar 2013 14:34:27 -0000	1.37
+++ AgentITSMConfigItemEdit.pm	11 Apr 2013 16:23:05 -0000	1.38
@@ -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