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

"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-serv28055/var/httpd/htdocs/js

Modified Files:
	Core.Agent.Admin.ProcessManagement.js 
Log Message:
Added link in path popup to open transition edit screen.

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.74
retrieving revision 1.75
diff -2 -u -d -r1.74 -r1.75
--- Core.Agent.Admin.ProcessManagement.js	31 Jan 2013 13:45:55 -0000	1.74
+++ Core.Agent.Admin.ProcessManagement.js	5 Feb 2013 09:36:53 -0000	1.75
@@ -1145,7 +1145,7 @@
         // Set chosen Startactivity, Endactivity and Transition
         $('#Transition').val(CurrentTransitionEntityID);
+        $('#EditPath a').data('entity', CurrentTransitionEntityID);
 
         if (AssignedTransitionActions && AssignedTransitionActions.length) {
-
             // Display assigned Transition Actions
             $.each(AssignedTransitionActions, function(Index, TransitionActionEntityID) {
@@ -1154,4 +1154,9 @@
         }
 
+        // if transition select is uodated, also update transition edit link
+        $('#Transition').bind('change', function () {
+           $('#EditPath a').data('entity', $(this).val());
+        });
+
         $('#Submit').bind('click', function() {
             $('#PathForm').submit();
---------------------------------------------------------------------
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.