[otrs-cvs] otrs/var/httpd/htdocs/js Core.Agent.Admin.ProcessManagement.js, 1.77, 1.78

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/var/httpd/htdocs/js
In directory lancelot:/tmp/cvs-serv25606/var/httpd/htdocs/js

Modified Files:
	Core.Agent.Admin.ProcessManagement.js 
Log Message:
Fixed bug#9156 - ProcessManagement: Transition Condition Fields cannot be removed correctly.

Author: mn

Index: Core.Agent.Admin.ProcessManagement.js
===================================================================
RCS file: /home/cvs/otrs/var/httpd/htdocs/js/Core.Agent.Admin.ProcessManagement.js,v
retrieving revision 1.77
retrieving revision 1.78
diff -2 -u -d -r1.77 -r1.78
--- Core.Agent.Admin.ProcessManagement.js	14 Feb 2013 08:36:23 -0000	1.77
+++ Core.Agent.Admin.ProcessManagement.js	14 Feb 2013 09:19:15 -0000	1.78
@@ -990,5 +990,5 @@
 
         // Init removal of conditions
-        $('#PresentConditionsContainer').delegate('.Remove', 'click', function() {
+        $('#PresentConditionsContainer').delegate('.ConditionField > .Remove', 'click', function() {
             if ($('#PresentConditionsContainer').find('.ConditionField').length > 1) {
 
@@ -1019,5 +1019,5 @@
 
         // Init removal of fields within conditions
-        $('.Condition .Fields').delegate('.Remove', 'click', function() {
+        $('.Condition .Field').delegate('.Remove', 'click', function() {
             if ($(this).closest('.Field').find('.Fields').length > 1) {
                 $(this).parent().prev('label').remove();
---------------------------------------------------------------------
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.