You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/20 18:24:44 UTC

[jira] [Commented] (VCL-1003) drag and drop support for moving privilege nodes

    [ https://issues.apache.org/jira/browse/VCL-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874912#comment-15874912 ] 

ASF subversion and git services commented on VCL-1003:
------------------------------------------------------

Commit 1783786 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1783786 ]

VCL-1003 - drag and drop support for moving privilege nodes

fixed problem where deleting a node and a set of children threw an error because nodes were not necessarily deleted from lowest children up, resulting in calling a child to be deleted after it had already been deleted due to its parent being deleted

privileges.php: modified AJsubmitDeleteNode: changed printing call to removeNodesFromTree to send 2 arguments - $deleteNodes and $activeNode; removed connecting fadeOut onEnd to deleteDialog hide

privileges.js: modified removeNodesFromTree: changed to accept 2 arguments, list of nodes to check for being an revert move parent, and node to delete along with any children; moved call to removeNodesFromTreeCB to outside of for loop

> drag and drop support for moving privilege nodes
> ------------------------------------------------
>
>                 Key: VCL-1003
>                 URL: https://issues.apache.org/jira/browse/VCL-1003
>             Project: VCL
>          Issue Type: New Feature
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>
> Being able to drag and drop privilege nodes to reorganize things would be helpful. Drag and drop is supported by the Dijit tree widget being used for the privilege tree. So, the proper hooks just need to be added with supporting php functions to update the database.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)