Author: jfthomps
Date: Fri Feb 22 16:02:47 2013
New Revision: 1449086

URL: http://svn.apache.org/r1449086
Log:
VCL-675
deleting a hierarchy of 3 or more privilege nodes throws an error

privileges.php: modified AJsubmitDeleteNode - changed call to 
removeNodesFromTree to only pass the removed node instead of the removed node 
and all of its children

Modified:
    vcl/branches/vcl-2.3-bugfixes/web/.ht-inc/privileges.php

Modified: vcl/branches/vcl-2.3-bugfixes/web/.ht-inc/privileges.php
URL: 
http://svn.apache.org/viewvc/vcl/branches/vcl-2.3-bugfixes/web/.ht-inc/privileges.php?rev=1449086&r1=1449085&r2=1449086&view=diff
==============================================================================
--- vcl/branches/vcl-2.3-bugfixes/web/.ht-inc/privileges.php (original)
+++ vcl/branches/vcl-2.3-bugfixes/web/.ht-inc/privileges.php Fri Feb 22 
16:02:47 2013
@@ -1109,7 +1109,7 @@ function AJsubmitDeleteNode() {
               . "WHERE id IN ($deleteNodes)";
        doQuery($query, 345);
        print "setSelectedPrivNode('$parent'); ";
-       print "removeNodesFromTree('$deleteNodes'); ";
+       print "removeNodesFromTree('$activeNode'); ";
        print "dijit.byId('deleteDialog').hide(); ";
        print "var workingobj = dijit.byId('workingDialog'); ";
        print "dojo.connect(workingobj._fadeOut, 'onEnd', 
dijit.byId('deleteDialog'), 'hide'); ";


Reply via email to