svn commit: r1724899 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp

[email protected] Sat, 16 Jan 2016 00:23:30 -0000
Newsgroups gmane.comp.jakarta.jetspeed.devel
Message-ID <[email protected]>
Author: taylor
Date: Sat Jan 16 00:23:30 2016
New Revision: 1724899

URL: http://svn.apache.org/viewvc?rev=1724899&view=rev
Log:
fixing bug in search constraints javascript editor where removing a constraint with lose the index

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp?rev=1724899&r1=1724898&r2=1724899&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp Sat Jan 16 00:23:30 2016
@@ -316,7 +316,8 @@ YUI({combine: true, timeout: 10000}).use
 	var removeConstraint = function(e) {
 		var node = e.currentTarget.get('parentNode').get('parentNode');
 		node.remove();
-    };
+		constraintUIId--;
+	};
 
 	<%--//  transform the constraints into a query, fire it and display the results --%>
 	var actionFindUser = function(e) {